#7B204C#7B204C

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

Color values

HEX#7B204C
RGBrgb(123, 32, 76)
HSLhsl(331, 59%, 30%)
HSVhsv(331, 74%, 48%)
CMYKcmyk(0%, 74%, 38.2%, 51.8%)
CIE-LABlab(28.82, 42.79, -4.43)
CIE-LCHlch(28.82, 43.02, 354.09°)
OKLaboklab(40.37% 0.1312 -0.0111)
OKLCHoklch(40.37% 0.132 355.1)
XYZxyz(9.9900, 5.7670, 7.4231)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B204C #207B4F
analogous
#7B2079 #7B204C #7B2120
triadic
#7B204C #4C7B20 #204C7B
tetradic
#7B204C #797B20 #207B4F #21207B
square
#7B204C #797B20 #207B4F #21207B
split-complementary
#7B204C #207B21 #20797B
monochromatic
#1A0710 #4A132E #7B204C #AC2D6A #CF4688

Accessibility & contrast

On white

9.75
#7B204C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B204C
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B204C#FFFFFF#000000##FFFFFF
##7B204C1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31394D
Deuteranopia (green-blind)
#4A4A4A
Tritanopia (blue-blind)
#851733
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b204c;
/* rgb */ color: rgb(123, 32, 76);
/* oklch */ color: oklch(40.4% 0.132 355.1);
Tailwind
colors: {
  custom: {
    50: '#a5647e',
    500: '#7b204c',
    950: '#000000',
  },
}
SCSS
$custom: #7b204c;
$custom-light: #a5647e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b204c",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 76
  },
  "hsl": {
    "h": 330.989,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40367,
    "c": 0.13163,
    "h": 355.1
  },
  "luminance": 0.05766
}

Semantic roles & 50–950 ramp

primary
#7B204C
secondary
#49AE7D
accent
#E29646
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7B204C

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

Preview Lab → · Contrast checker → · Palette generator →

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