#7E213B#7E213B

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

Color values

HEX#7E213B
RGBrgb(126, 33, 59)
HSLhsl(343, 58%, 31%)
HSVhsv(343, 74%, 49%)
CMYKcmyk(0%, 73.8%, 53.2%, 50.6%)
CIE-LABlab(29.01, 41.56, 7.24)
CIE-LCHlch(29.01, 42.19, 9.88°)
OKLaboklab(40.44% 0.1264 0.0186)
OKLCHoklch(40.44% 0.128 8.4)
XYZxyz(9.9383, 5.8404, 4.7408)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E213B #217E64
analogous
#7E2169 #7E213B #7E3521
triadic
#7E213B #3B7E21 #213B7E
tetradic
#7E213B #697E21 #217E64 #35217E
square
#7E213B #697E21 #217E64 #35217E
split-complementary
#7E213B #217E35 #21697E
monochromatic
#1D080E #4E1424 #7E213B #AE2E52 #D04A6F

Accessibility & contrast

On white

9.69
#7E213B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7E213B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E213B
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E213B#FFFFFF#000000##FFFFFF
##7E213B1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37383C
Deuteranopia (green-blind)
#504B39
Tritanopia (blue-blind)
#8A0E2C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e213b;
/* rgb */ color: rgb(126, 33, 59);
/* oklch */ color: oklch(40.4% 0.128 8.4);
Tailwind
colors: {
  custom: {
    50: '#a86470',
    500: '#7e213b',
    950: '#000000',
  },
}
SCSS
$custom: #7e213b;
$custom-light: #a86470;
$custom-dark: #000000;
JSON
{
  "hex": "#7e213b",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 59
  },
  "hsl": {
    "h": 343.226,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40441,
    "c": 0.1278,
    "h": 8.4
  },
  "luminance": 0.05839
}

Semantic roles & 50–950 ramp

primary
#7E213B
secondary
#4AB194
accent
#E2B646
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110607
muted
#807A7A

Preview Lab

Preview with #7E213B

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

Preview Lab → · Contrast checker → · Palette generator →

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