#7E203E#7E203E

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

Color values

HEX#7E203E
RGBrgb(126, 32, 62)
HSLhsl(341, 59%, 31%)
HSVhsv(341, 75%, 49%)
CMYKcmyk(0%, 74.6%, 50.8%, 50.6%)
CIE-LABlab(28.95, 42.23, 5.15)
CIE-LCHlch(28.95, 42.54, 6.96°)
OKLaboklab(40.42% 0.1289 0.0135)
OKLCHoklch(40.42% 0.13 6)
XYZxyz(9.9910, 5.8178, 5.1533)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E203E #207E60
analogous
#7E206D #7E203E #7E3120
triadic
#7E203E #3E7E20 #203E7E
tetradic
#7E203E #6D7E20 #207E60 #31207E
square
#7E203E #6D7E20 #207E60 #31207E
split-complementary
#7E203E #207E31 #206D7E
monochromatic
#1C070E #4D1426 #7E203E #AF2C56 #D04873

Accessibility & contrast

On white

9.71
#7E203E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E203E
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E203E#FFFFFF#000000##FFFFFF
##7E203E1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36383F
Deuteranopia (green-blind)
#4F4B3C
Tritanopia (blue-blind)
#8A0D2C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e203e;
/* rgb */ color: rgb(126, 32, 62);
/* oklch */ color: oklch(40.4% 0.130 6.0);
Tailwind
colors: {
  custom: {
    50: '#a86473',
    500: '#7e203e',
    950: '#000000',
  },
}
SCSS
$custom: #7e203e;
$custom-light: #a86473;
$custom-dark: #000000;
JSON
{
  "hex": "#7e203e",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 62
  },
  "hsl": {
    "h": 340.851,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40424,
    "c": 0.12961,
    "h": 6
  },
  "luminance": 0.05816
}

Semantic roles & 50–950 ramp

primary
#7E203E
secondary
#49B190
accent
#E3B045
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7E203E

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

Preview Lab → · Contrast checker → · Palette generator →

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