#7E213A#7E213A

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

Color values

HEX#7E213A
RGBrgb(126, 33, 58)
HSLhsl(344, 58%, 31%)
HSVhsv(344, 74%, 49%)
CMYKcmyk(0%, 73.8%, 54%, 50.6%)
CIE-LABlab(28.98, 41.47, 7.87)
CIE-LCHlch(28.98, 42.21, 10.74°)
OKLaboklab(40.41% 0.126 0.0201)
OKLCHoklch(40.41% 0.128 9.1)
XYZxyz(9.9126, 5.8302, 4.6055)
Luminance0.0583 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E213A #217E65
analogous
#7E2168 #7E213A #7E3621
triadic
#7E213A #3A7E21 #213A7E
tetradic
#7E213A #687E21 #217E65 #36217E
square
#7E213A #687E21 #217E65 #36217E
split-complementary
#7E213A #217E36 #21687E
monochromatic
#1D080D #4E1424 #7E213A #AE2E50 #D04A6E

Accessibility & contrast

On white

9.70
#7E213A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E213A
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E213A#FFFFFF#000000##FFFFFF
##7E213A1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38383A
Deuteranopia (green-blind)
#504B38
Tritanopia (blue-blind)
#8A0D2B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e213a;
/* rgb */ color: rgb(126, 33, 58);
/* oklch */ color: oklch(40.4% 0.128 9.1);
Tailwind
colors: {
  custom: {
    50: '#a8646f',
    500: '#7e213a',
    950: '#000000',
  },
}
SCSS
$custom: #7e213a;
$custom-light: #a8646f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e213a",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 58
  },
  "hsl": {
    "h": 343.871,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40413,
    "c": 0.12763,
    "h": 9.1
  },
  "luminance": 0.05829
}

Semantic roles & 50–950 ramp

primary
#7E213A
secondary
#4AB195
accent
#E2B846
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110607
muted
#807A7A

Preview Lab

Preview with #7E213A

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

Preview Lab → · Contrast checker → · Palette generator →

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