#7E213E#7E213E

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

Color values

HEX#7E213E
RGBrgb(126, 33, 62)
HSLhsl(341, 58%, 31%)
HSVhsv(341, 74%, 49%)
CMYKcmyk(0%, 73.8%, 50.8%, 50.6%)
CIE-LABlab(29.09, 41.84, 5.35)
CIE-LCHlch(29.09, 42.18, 7.29°)
OKLaboklab(40.53% 0.1277 0.014)
OKLCHoklch(40.53% 0.128 6.3)
XYZxyz(10.0184, 5.8725, 5.1624)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E213E #217E61
analogous
#7E216C #7E213E #7E3221
triadic
#7E213E #3E7E21 #213E7E
tetradic
#7E213E #6C7E21 #217E61 #32217E
square
#7E213E #6C7E21 #217E61 #32217E
split-complementary
#7E213E #217E32 #216C7E
monochromatic
#1D080E #4E1426 #7E213E #AE2E56 #D04A74

Accessibility & contrast

On white

9.66
#7E213E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E213E
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E213E#FFFFFF#000000##FFFFFF
##7E213E1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37393F
Deuteranopia (green-blind)
#4F4B3C
Tritanopia (blue-blind)
#8A0F2D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e213e;
/* rgb */ color: rgb(126, 33, 62);
/* oklch */ color: oklch(40.5% 0.128 6.3);
Tailwind
colors: {
  custom: {
    50: '#a86473',
    500: '#7e213e',
    950: '#000000',
  },
}
SCSS
$custom: #7e213e;
$custom-light: #a86473;
$custom-dark: #000000;
JSON
{
  "hex": "#7e213e",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 62
  },
  "hsl": {
    "h": 341.29,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40528,
    "c": 0.12842,
    "h": 6.3
  },
  "luminance": 0.05871
}

Semantic roles & 50–950 ramp

primary
#7E213E
secondary
#4AB191
accent
#E2B146
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7E213E

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

Preview Lab → · Contrast checker → · Palette generator →

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