#7F2159#7F2159

#7F2159 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.141 H 348.3°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#7F2159
RGBrgb(127, 33, 89)
HSLhsl(324, 59%, 31%)
HSVhsv(324, 74%, 50%)
CMYKcmyk(0%, 74%, 29.9%, 50.2%)
CIE-LABlab(30.21, 45.21, -10.82)
CIE-LCHlch(30.21, 46.49, 346.55°)
OKLaboklab(41.7% 0.1376 -0.0284)
OKLCHoklch(41.7% 0.141 348.3)
XYZxyz(11.1000, 6.3222, 10.0850)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2159 #217F47
analogous
#76217F #7F2159 #7F212A
triadic
#7F2159 #597F21 #21597F
tetradic
#7F2159 #7F7621 #217F47 #212A7F
square
#7F2159 #7F7621 #217F47 #212A7F
split-complementary
#7F2159 #2A7F21 #217F76
monochromatic
#1E0815 #4E1437 #7F2159 #B02E7B #D04A9A

Accessibility & contrast

On white

9.27
#7F2159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7F2159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2159
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2159#FFFFFF#000000##FFFFFF
##7F21591.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3D5B
Deuteranopia (green-blind)
#4A4D57
Tritanopia (blue-blind)
#881D3A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f2159;
/* rgb */ color: rgb(127, 33, 89);
/* oklch */ color: oklch(41.7% 0.141 348.3);
Tailwind
colors: {
  custom: {
    50: '#a86588',
    500: '#7f2159',
    950: '#000000',
  },
}
SCSS
$custom: #7f2159;
$custom-light: #a86588;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2159",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 324.255,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41695,
    "c": 0.14054,
    "h": 348.3
  },
  "luminance": 0.06321
}

Semantic roles & 50–950 ramp

primary
#7F2159
secondary
#4AB274
accent
#E28546
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F2159

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

Preview Lab → · Contrast checker → · Palette generator →

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