#7F214F#7F214F

#7F214F is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.3% C 0.135 H 354.8°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#7F214F
RGBrgb(127, 33, 79)
HSLhsl(331, 59%, 31%)
HSVhsv(331, 74%, 50%)
CMYKcmyk(0%, 74%, 37.8%, 50.2%)
CIE-LABlab(29.83, 43.96, -4.83)
CIE-LCHlch(29.83, 44.23, 353.73°)
OKLaboklab(41.29% 0.1348 -0.0122)
OKLCHoklch(41.29% 0.135 354.8)
XYZxyz(10.7082, 6.1655, 8.0218)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F214F #217F51
analogous
#7F217E #7F214F #7F2221
triadic
#7F214F #4F7F21 #214F7F
tetradic
#7F214F #7E7F21 #217F51 #22217F
square
#7F214F #7E7F21 #217F51 #22217F
split-complementary
#7F214F #217F22 #217E7F
monochromatic
#1E0813 #4E1431 #7F214F #B02E6D #D04A8C

Accessibility & contrast

On white

9.41
#7F214F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7F214F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F214F
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F214F#FFFFFF#000000##FFFFFF
##7F214F1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323B50
Deuteranopia (green-blind)
#4C4D4D
Tritanopia (blue-blind)
#891835
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f214f;
/* rgb */ color: rgb(127, 33, 79);
/* oklch */ color: oklch(41.3% 0.135 354.8);
Tailwind
colors: {
  custom: {
    50: '#a86580',
    500: '#7f214f',
    950: '#000000',
  },
}
SCSS
$custom: #7f214f;
$custom-light: #a86580;
$custom-dark: #000000;
JSON
{
  "hex": "#7f214f",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 79
  },
  "hsl": {
    "h": 330.638,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41287,
    "c": 0.1353,
    "h": 354.8
  },
  "luminance": 0.06164
}

Semantic roles & 50–950 ramp

primary
#7F214F
secondary
#4AB27F
accent
#E29646
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F214F

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

Preview Lab → · Contrast checker → · Palette generator →

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