#7F215C#7F215C

#7F215C is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.142 H 346.5°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#7F215C
RGBrgb(127, 33, 92)
HSLhsl(322, 59%, 31%)
HSVhsv(322, 74%, 50%)
CMYKcmyk(0%, 74%, 27.6%, 50.2%)
CIE-LABlab(30.34, 45.61, -12.58)
CIE-LCHlch(30.34, 47.32, 344.58°)
OKLaboklab(41.83% 0.1384 -0.0333)
OKLCHoklch(41.83% 0.142 346.5)
XYZxyz(11.2285, 6.3737, 10.7620)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F215C #217F44
analogous
#73217F #7F215C #7F212D
triadic
#7F215C #5C7F21 #215C7F
tetradic
#7F215C #7F7321 #217F44 #212D7F
square
#7F215C #7F7321 #217F44 #212D7F
split-complementary
#7F215C #2D7F21 #217F73
monochromatic
#1E0816 #4E1439 #7F215C #B02E7F #D04A9E

Accessibility & contrast

On white

9.23
#7F215C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7F215C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F215C
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F215C#FFFFFF#000000##FFFFFF
##7F215C1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3D5E
Deuteranopia (green-blind)
#494D5A
Tritanopia (blue-blind)
#881E3B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f215c;
/* rgb */ color: rgb(127, 33, 92);
/* oklch */ color: oklch(41.8% 0.142 346.5);
Tailwind
colors: {
  custom: {
    50: '#a8658a',
    500: '#7f215c',
    950: '#000000',
  },
}
SCSS
$custom: #7f215c;
$custom-light: #a8658a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f215c",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 92
  },
  "hsl": {
    "h": 322.34,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41827,
    "c": 0.14233,
    "h": 346.5
  },
  "luminance": 0.06372
}

Semantic roles & 50–950 ramp

primary
#7F215C
secondary
#4AB271
accent
#E28046
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F215C

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

Preview Lab → · Contrast checker → · Palette generator →

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