#7F215B#7F215B

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

Color values

HEX#7F215B
RGBrgb(127, 33, 91)
HSLhsl(323, 59%, 31%)
HSVhsv(323, 74%, 50%)
CMYKcmyk(0%, 74%, 28.3%, 50.2%)
CIE-LABlab(30.29, 45.48, -11.99)
CIE-LCHlch(30.29, 47.03, 345.23°)
OKLaboklab(41.78% 0.1381 -0.0317)
OKLCHoklch(41.78% 0.142 347.1)
XYZxyz(11.1851, 6.3563, 10.5333)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F215B #217F45
analogous
#74217F #7F215B #7F212C
triadic
#7F215B #5B7F21 #215B7F
tetradic
#7F215B #7F7421 #217F45 #212C7F
square
#7F215B #7F7421 #217F45 #212C7F
split-complementary
#7F215B #2C7F21 #217F74
monochromatic
#1E0815 #4E1438 #7F215B #B02E7E #D04A9D

Accessibility & contrast

On white

9.25
#7F215B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F215B
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F215B#FFFFFF#000000##FFFFFF
##7F215B1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f215b;
/* rgb */ color: rgb(127, 33, 91);
/* oklch */ color: oklch(41.8% 0.142 347.1);
Tailwind
colors: {
  custom: {
    50: '#a86589',
    500: '#7f215b',
    950: '#000000',
  },
}
SCSS
$custom: #7f215b;
$custom-light: #a86589;
$custom-dark: #000000;
JSON
{
  "hex": "#7f215b",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 91
  },
  "hsl": {
    "h": 322.979,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41782,
    "c": 0.14172,
    "h": 347.1
  },
  "luminance": 0.06355
}

Semantic roles & 50–950 ramp

primary
#7F215B
secondary
#4AB272
accent
#E28246
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F215B

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

Preview Lab → · Contrast checker → · Palette generator →

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