#7E203A#7E203A

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

Color values

HEX#7E203A
RGBrgb(126, 32, 58)
HSLhsl(343, 59%, 31%)
HSVhsv(343, 75%, 49%)
CMYKcmyk(0%, 74.6%, 54%, 50.6%)
CIE-LABlab(28.84, 41.87, 7.67)
CIE-LCHlch(28.84, 42.56, 10.38°)
OKLaboklab(40.31% 0.1273 0.0197)
OKLCHoklch(40.31% 0.129 8.8)
XYZxyz(9.8853, 5.7755, 4.5964)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E203A #207E64
analogous
#7E2069 #7E203A #7E3520
triadic
#7E203A #3A7E20 #203A7E
tetradic
#7E203A #697E20 #207E64 #35207E
square
#7E203A #697E20 #207E64 #35207E
split-complementary
#7E203A #207E35 #20697E
monochromatic
#1C070D #4D1424 #7E203A #AF2C50 #D0486E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E203A#FFFFFF#000000##FFFFFF
##7E203A1.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)
#37383A
Deuteranopia (green-blind)
#504B38
Tritanopia (blue-blind)
#8A0B2B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e203a;
/* rgb */ color: rgb(126, 32, 58);
/* oklch */ color: oklch(40.3% 0.129 8.8);
Tailwind
colors: {
  custom: {
    50: '#a9646f',
    500: '#7e203a',
    950: '#000000',
  },
}
SCSS
$custom: #7e203a;
$custom-light: #a9646f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e203a",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 58
  },
  "hsl": {
    "h": 343.404,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40308,
    "c": 0.12879,
    "h": 8.8
  },
  "luminance": 0.05774
}

Semantic roles & 50–950 ramp

primary
#7E203A
secondary
#49B194
accent
#E3B745
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110607
muted
#807A7A

Preview Lab

Preview with #7E203A

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

Preview Lab → · Contrast checker → · Palette generator →

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