#7E213D#7E213D

#7E213D is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.5% C 0.128 H 7.0°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#7E213D
RGBrgb(126, 33, 61)
HSLhsl(342, 58%, 31%)
HSVhsv(342, 74%, 49%)
CMYKcmyk(0%, 73.8%, 51.6%, 50.6%)
CIE-LABlab(29.06, 41.75, 5.98)
CIE-LCHlch(29.06, 42.17, 8.15°)
OKLaboklab(40.5% 0.1273 0.0156)
OKLCHoklch(40.5% 0.128 7)
XYZxyz(9.9912, 5.8616, 5.0193)
Luminance0.0586 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E213D #217E62
analogous
#7E216B #7E213D #7E3321
triadic
#7E213D #3D7E21 #213D7E
tetradic
#7E213D #6B7E21 #217E62 #33217E
square
#7E213D #6B7E21 #217E62 #33217E
split-complementary
#7E213D #217E33 #216B7E
monochromatic
#1D080E #4E1426 #7E213D #AE2E54 #D04A72

Accessibility & contrast

On white

9.67
#7E213D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E213D
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E213D#FFFFFF#000000##FFFFFF
##7E213D1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37393E
Deuteranopia (green-blind)
#4F4B3B
Tritanopia (blue-blind)
#8A0F2C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e213d;
/* rgb */ color: rgb(126, 33, 61);
/* oklch */ color: oklch(40.5% 0.128 7.0);
Tailwind
colors: {
  custom: {
    50: '#a86472',
    500: '#7e213d',
    950: '#000000',
  },
}
SCSS
$custom: #7e213d;
$custom-light: #a86472;
$custom-dark: #000000;
JSON
{
  "hex": "#7e213d",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 61
  },
  "hsl": {
    "h": 341.935,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40499,
    "c": 0.1282,
    "h": 7
  },
  "luminance": 0.0586
}

Semantic roles & 50–950 ramp

primary
#7E213D
secondary
#4AB192
accent
#E2B346
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7E213D

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

Preview Lab → · Contrast checker → · Palette generator →

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