#7F213E#7F213E

#7F213E is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.129 H 6.6°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#7F213E
RGBrgb(127, 33, 62)
HSLhsl(341, 59%, 31%)
HSVhsv(341, 74%, 50%)
CMYKcmyk(0%, 74%, 51.2%, 50.2%)
CIE-LABlab(29.28, 42.16, 5.65)
CIE-LCHlch(29.28, 42.54, 7.64°)
OKLaboklab(40.71% 0.1286 0.0148)
OKLCHoklch(40.71% 0.129 6.6)
XYZxyz(10.1666, 5.9489, 5.1694)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F213E #217F62
analogous
#7F216D #7F213E #7F3321
triadic
#7F213E #3E7F21 #213E7F
tetradic
#7F213E #6D7F21 #217F62 #33217F
square
#7F213E #6D7F21 #217F62 #33217F
split-complementary
#7F213E #217F33 #216D7F
monochromatic
#1E080F #4E1426 #7F213E #B02E56 #D04A74

Accessibility & contrast

On white

9.59
#7F213E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7F213E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F213E
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F213E#FFFFFF#000000##FFFFFF
##7F213E1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37393F
Deuteranopia (green-blind)
#504C3C
Tritanopia (blue-blind)
#8B0F2D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f213e;
/* rgb */ color: rgb(127, 33, 62);
/* oklch */ color: oklch(40.7% 0.129 6.6);
Tailwind
colors: {
  custom: {
    50: '#a96473',
    500: '#7f213e',
    950: '#000000',
  },
}
SCSS
$custom: #7f213e;
$custom-light: #a96473;
$custom-dark: #000000;
JSON
{
  "hex": "#7f213e",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 62
  },
  "hsl": {
    "h": 341.489,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40708,
    "c": 0.12943,
    "h": 6.6
  },
  "luminance": 0.05948
}

Semantic roles & 50–950 ramp

primary
#7F213E
secondary
#4AB292
accent
#E2B246
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110608
muted
#807A7B

Preview Lab

Preview with #7F213E

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

Preview Lab → · Contrast checker → · Palette generator →

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