#7A2B63#7A2B63

#7A2B63 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.4% C 0.129 H 340.8°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7A2B63
RGBrgb(122, 43, 99)
HSLhsl(317, 48%, 32%)
HSVhsv(317, 65%, 48%)
CMYKcmyk(0%, 64.8%, 18.9%, 52.2%)
CIE-LABlab(31.27, 40.95, -15.76)
CIE-LCHlch(31.27, 43.88, 338.96°)
OKLaboklab(42.44% 0.1218 -0.0423)
OKLCHoklch(42.44% 0.129 340.8)
XYZxyz(11.1423, 6.7672, 12.5213)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2B63 #2B7A42
analogous
#692B7A #7A2B63 #7A2B3C
triadic
#7A2B63 #637A2B #2B637A
tetradic
#7A2B63 #7A692B #2B7A42 #2B3C7A
square
#7A2B63 #7A692B #2B7A42 #2B3C7A
split-complementary
#7A2B63 #3C7A2B #2B7A69
monochromatic
#1F0B1A #4D1B3E #7A2B63 #A73B88 #C55AA6

Accessibility & contrast

On white

8.92
#7A2B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7A2B63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2B63
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2B63#FFFFFF#000000##FFFFFF
##7A2B631.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304165
Deuteranopia (green-blind)
#474E61
Tritanopia (blue-blind)
#812C43
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a2b63;
/* rgb */ color: rgb(122, 43, 99);
/* oklch */ color: oklch(42.4% 0.129 340.8);
Tailwind
colors: {
  custom: {
    50: '#a36a8f',
    500: '#7a2b63',
    950: '#000000',
  },
}
SCSS
$custom: #7a2b63;
$custom-light: #a36a8f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2b63",
  "rgb": {
    "r": 122,
    "g": 43,
    "b": 99
  },
  "hsl": {
    "h": 317.468,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4244,
    "c": 0.12893,
    "h": 340.8
  },
  "luminance": 0.06766
}

Semantic roles & 50–950 ramp

primary
#7A2B63
secondary
#56AB6F
accent
#D77850
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F070C
muted
#7F7A7D

Preview Lab

Preview with #7A2B63

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7A2B63 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva