#7B204B#7B204B

#7B204B is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.3% C 0.131 H 355.8°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#7B204B
RGBrgb(123, 32, 75)
HSLhsl(332, 59%, 30%)
HSVhsv(332, 74%, 48%)
CMYKcmyk(0%, 74%, 39%, 51.8%)
CIE-LABlab(28.78, 42.67, -3.82)
CIE-LCHlch(28.78, 42.84, 354.88°)
OKLaboklab(40.33% 0.1308 -0.0095)
OKLCHoklch(40.33% 0.131 355.8)
XYZxyz(9.9555, 5.7532, 7.2415)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B204B #207B50
analogous
#7B2079 #7B204B #7B2220
triadic
#7B204B #4B7B20 #204B7B
tetradic
#7B204B #797B20 #207B50 #22207B
square
#7B204B #797B20 #207B50 #22207B
split-complementary
#7B204B #207B22 #20797B
monochromatic
#1A0710 #4A132D #7B204B #AC2D69 #CF4687

Accessibility & contrast

On white

9.77
#7B204B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7B204B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B204B
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B204B#FFFFFF#000000##FFFFFF
##7B204B1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31394C
Deuteranopia (green-blind)
#4A4A49
Tritanopia (blue-blind)
#851732
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b204b;
/* rgb */ color: rgb(123, 32, 75);
/* oklch */ color: oklch(40.3% 0.131 355.8);
Tailwind
colors: {
  custom: {
    50: '#a5647d',
    500: '#7b204b',
    950: '#000000',
  },
}
SCSS
$custom: #7b204b;
$custom-light: #a5647d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b204b",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 75
  },
  "hsl": {
    "h": 331.648,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40329,
    "c": 0.13118,
    "h": 355.8
  },
  "luminance": 0.05752
}

Semantic roles & 50–950 ramp

primary
#7B204B
secondary
#49AE7E
accent
#E29846
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7B204B

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

Preview Lab → · Contrast checker → · Palette generator →

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