#7E204B#7E204B

#7E204B is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.134 H 357.0°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#7E204B
RGBrgb(126, 32, 75)
HSLhsl(333, 59%, 31%)
HSVhsv(333, 75%, 49%)
CMYKcmyk(0%, 74.6%, 40.5%, 50.6%)
CIE-LABlab(29.36, 43.58, -2.91)
CIE-LCHlch(29.36, 43.68, 356.18°)
OKLaboklab(40.86% 0.1337 -0.0071)
OKLCHoklch(40.86% 0.134 357)
XYZxyz(10.3914, 5.9779, 7.2619)
Luminance0.0598 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E204B #207E53
analogous
#7E207A #7E204B #7E2420
triadic
#7E204B #4B7E20 #204B7E
tetradic
#7E204B #7A7E20 #207E53 #24207E
square
#7E204B #7A7E20 #207E53 #24207E
split-complementary
#7E204B #207E24 #207A7E
monochromatic
#1C0711 #4D142E #7E204B #AF2C68 #D04886

Accessibility & contrast

On white

9.57
#7E204B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7E204B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E204B
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E204B#FFFFFF#000000##FFFFFF
##7E204B1.009.572.209.57
#FFFFFF9.571.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333A4C
Deuteranopia (green-blind)
#4C4C49
Tritanopia (blue-blind)
#891532
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e204b;
/* rgb */ color: rgb(126, 32, 75);
/* oklch */ color: oklch(40.9% 0.134 357.0);
Tailwind
colors: {
  custom: {
    50: '#a8647d',
    500: '#7e204b',
    950: '#000000',
  },
}
SCSS
$custom: #7e204b;
$custom-light: #a8647d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e204b",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 75
  },
  "hsl": {
    "h": 332.553,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4086,
    "c": 0.13389,
    "h": 357
  },
  "luminance": 0.05977
}

Semantic roles & 50–950 ramp

primary
#7E204B
secondary
#49B181
accent
#E39B45
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E204B

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

Preview Lab → · Contrast checker → · Palette generator →

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