#7B204D#7B204D

#7B204D is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.132 H 354.5°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#7B204D
RGBrgb(123, 32, 77)
HSLhsl(330, 59%, 30%)
HSVhsv(330, 74%, 48%)
CMYKcmyk(0%, 74%, 37.4%, 51.8%)
CIE-LABlab(28.85, 42.91, -5.04)
CIE-LCHlch(28.85, 43.20, 353.30°)
OKLaboklab(40.41% 0.1315 -0.0128)
OKLCHoklch(40.41% 0.132 354.5)
XYZxyz(10.0251, 5.7810, 7.6077)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B204D #207B4E
analogous
#7B207A #7B204D #7B2120
triadic
#7B204D #4D7B20 #204D7B
tetradic
#7B204D #7A7B20 #207B4E #21207B
square
#7B204D #7A7B20 #207B4E #21207B
split-complementary
#7B204D #207B21 #207A7B
monochromatic
#1A0710 #4A132F #7B204D #AC2D6B #CF468A

Accessibility & contrast

On white

9.74
#7B204D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7B204D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B204D
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B204D#FFFFFF#000000##FFFFFF
##7B204D1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31394E
Deuteranopia (green-blind)
#4A4A4B
Tritanopia (blue-blind)
#851833
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b204d;
/* rgb */ color: rgb(123, 32, 77);
/* oklch */ color: oklch(40.4% 0.132 354.5);
Tailwind
colors: {
  custom: {
    50: '#a5647e',
    500: '#7b204d',
    950: '#000000',
  },
}
SCSS
$custom: #7b204d;
$custom-light: #a5647e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b204d",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 77
  },
  "hsl": {
    "h": 330.33,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40406,
    "c": 0.1321,
    "h": 354.5
  },
  "luminance": 0.0578
}

Semantic roles & 50–950 ramp

primary
#7B204D
secondary
#49AE7C
accent
#E29546
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B204D

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

Preview Lab → · Contrast checker → · Palette generator →

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