#7F215D#7F215D

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

Color values

HEX#7F215D
RGBrgb(127, 33, 93)
HSLhsl(322, 59%, 31%)
HSVhsv(322, 74%, 50%)
CMYKcmyk(0%, 74%, 26.8%, 50.2%)
CIE-LABlab(30.38, 45.75, -13.17)
CIE-LCHlch(30.38, 47.61, 343.94°)
OKLaboklab(41.87% 0.1386 -0.0349)
OKLCHoklch(41.87% 0.143 345.9)
XYZxyz(11.2725, 6.3913, 10.9938)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F215D #217F43
analogous
#72217F #7F215D #7F212E
triadic
#7F215D #5D7F21 #215D7F
tetradic
#7F215D #7F7221 #217F43 #212E7F
square
#7F215D #7F7221 #217F43 #212E7F
split-complementary
#7F215D #2E7F21 #217F72
monochromatic
#1E0816 #4E1439 #7F215D #B02E81 #D04AA0

Accessibility & contrast

On white

9.22
#7F215D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F215D
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F215D#FFFFFF#000000##FFFFFF
##7F215D1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3D5F
Deuteranopia (green-blind)
#494D5B
Tritanopia (blue-blind)
#881F3C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f215d;
/* rgb */ color: rgb(127, 33, 93);
/* oklch */ color: oklch(41.9% 0.143 345.9);
Tailwind
colors: {
  custom: {
    50: '#a8658b',
    500: '#7f215d',
    950: '#000000',
  },
}
SCSS
$custom: #7f215d;
$custom-light: #a8658b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f215d",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 93
  },
  "hsl": {
    "h": 321.702,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41872,
    "c": 0.14294,
    "h": 345.9
  },
  "luminance": 0.0639
}

Semantic roles & 50–950 ramp

primary
#7F215D
secondary
#4AB270
accent
#E27E46
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F215D

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

Preview Lab → · Contrast checker → · Palette generator →

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