#7E203B#7E203B

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

Color values

HEX#7E203B
RGBrgb(126, 32, 59)
HSLhsl(343, 59%, 31%)
HSVhsv(343, 75%, 49%)
CMYKcmyk(0%, 74.6%, 53.2%, 50.6%)
CIE-LABlab(28.87, 41.95, 7.04)
CIE-LCHlch(28.87, 42.54, 9.52°)
OKLaboklab(40.34% 0.1277 0.0181)
OKLCHoklch(40.34% 0.129 8.1)
XYZxyz(9.9110, 5.7858, 4.7317)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E203B #207E63
analogous
#7E206A #7E203B #7E3420
triadic
#7E203B #3B7E20 #203B7E
tetradic
#7E203B #6A7E20 #207E63 #34207E
square
#7E203B #6A7E20 #207E63 #34207E
split-complementary
#7E203B #207E34 #206A7E
monochromatic
#1C070D #4D1424 #7E203B #AF2C52 #D0486F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E203B#FFFFFF#000000##FFFFFF
##7E203B1.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)
#37383C
Deuteranopia (green-blind)
#4F4B39
Tritanopia (blue-blind)
#8A0C2B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e203b;
/* rgb */ color: rgb(126, 32, 59);
/* oklch */ color: oklch(40.3% 0.129 8.1);
Tailwind
colors: {
  custom: {
    50: '#a86470',
    500: '#7e203b',
    950: '#000000',
  },
}
SCSS
$custom: #7e203b;
$custom-light: #a86470;
$custom-dark: #000000;
JSON
{
  "hex": "#7e203b",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 59
  },
  "hsl": {
    "h": 342.766,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40336,
    "c": 0.12897,
    "h": 8.1
  },
  "luminance": 0.05784
}

Semantic roles & 50–950 ramp

primary
#7E203B
secondary
#49B193
accent
#E3B545
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110607
muted
#807A7A

Preview Lab

Preview with #7E203B

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

Preview Lab → · Contrast checker → · Palette generator →

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