#7F213D#7F213D

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

Color values

HEX#7F213D
RGBrgb(127, 33, 61)
HSLhsl(342, 59%, 31%)
HSVhsv(342, 74%, 50%)
CMYKcmyk(0%, 74%, 52%, 50.2%)
CIE-LABlab(29.26, 42.07, 6.28)
CIE-LCHlch(29.26, 42.53, 8.49°)
OKLaboklab(40.68% 0.1282 0.0163)
OKLCHoklch(40.68% 0.129 7.3)
XYZxyz(10.1394, 5.9380, 5.0262)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F213D #217F63
analogous
#7F216C #7F213D #7F3421
triadic
#7F213D #3D7F21 #213D7F
tetradic
#7F213D #6C7F21 #217F63 #34217F
square
#7F213D #6C7F21 #217F63 #34217F
split-complementary
#7F213D #217F34 #216C7F
monochromatic
#1E080E #4E1426 #7F213D #B02E54 #D04A72

Accessibility & contrast

On white

9.60
#7F213D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F213D
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F213D#FFFFFF#000000##FFFFFF
##7F213D1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37393E
Deuteranopia (green-blind)
#504C3B
Tritanopia (blue-blind)
#8B0E2C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f213d;
/* rgb */ color: rgb(127, 33, 61);
/* oklch */ color: oklch(40.7% 0.129 7.3);
Tailwind
colors: {
  custom: {
    50: '#a96472',
    500: '#7f213d',
    950: '#000000',
  },
}
SCSS
$custom: #7f213d;
$custom-light: #a96472;
$custom-dark: #000000;
JSON
{
  "hex": "#7f213d",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 61
  },
  "hsl": {
    "h": 342.128,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40679,
    "c": 0.12921,
    "h": 7.3
  },
  "luminance": 0.05937
}

Semantic roles & 50–950 ramp

primary
#7F213D
secondary
#4AB293
accent
#E2B346
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110607
muted
#807A7A

Preview Lab

Preview with #7F213D

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

Preview Lab → · Contrast checker → · Palette generator →

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