#7F215E#7F215E

#7F215E is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.144 H 345.3°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#7F215E
RGBrgb(127, 33, 94)
HSLhsl(321, 59%, 31%)
HSVhsv(321, 74%, 50%)
CMYKcmyk(0%, 74%, 26%, 50.2%)
CIE-LABlab(30.42, 45.89, -13.75)
CIE-LCHlch(30.42, 47.90, 343.32°)
OKLaboklab(41.92% 0.1388 -0.0365)
OKLCHoklch(41.92% 0.144 345.3)
XYZxyz(11.3171, 6.4091, 11.2286)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F215E #217F42
analogous
#71217F #7F215E #7F212F
triadic
#7F215E #5E7F21 #215E7F
tetradic
#7F215E #7F7121 #217F42 #212F7F
square
#7F215E #7F7121 #217F42 #212F7F
split-complementary
#7F215E #2F7F21 #217F71
monochromatic
#1E0816 #4E143A #7F215E #B02E82 #D04AA1

Accessibility & contrast

On white

9.20
#7F215E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7F215E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F215E
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F215E#FFFFFF#000000##FFFFFF
##7F215E1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3D60
Deuteranopia (green-blind)
#484D5C
Tritanopia (blue-blind)
#881F3C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f215e;
/* rgb */ color: rgb(127, 33, 94);
/* oklch */ color: oklch(41.9% 0.144 345.3);
Tailwind
colors: {
  custom: {
    50: '#a8658b',
    500: '#7f215e',
    950: '#000000',
  },
}
SCSS
$custom: #7f215e;
$custom-light: #a8658b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f215e",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 94
  },
  "hsl": {
    "h": 321.064,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41918,
    "c": 0.14357,
    "h": 345.3
  },
  "luminance": 0.06408
}

Semantic roles & 50–950 ramp

primary
#7F215E
secondary
#4AB26E
accent
#E27D46
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F215E

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

Preview Lab → · Contrast checker → · Palette generator →

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