#7F2059#7F2059

#7F2059 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.6% C 0.142 H 348.2°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#7F2059
RGBrgb(127, 32, 89)
HSLhsl(324, 60%, 31%)
HSVhsv(324, 75%, 50%)
CMYKcmyk(0%, 74.8%, 29.9%, 50.2%)
CIE-LABlab(30.08, 45.59, -11.02)
CIE-LCHlch(30.08, 46.90, 346.41°)
OKLaboklab(41.6% 0.1388 -0.029)
OKLCHoklch(41.6% 0.142 348.2)
XYZxyz(11.0726, 6.2675, 10.0759)
Luminance0.0627 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2059 #207F46
analogous
#75207F #7F2059 #7F2029
triadic
#7F2059 #597F20 #20597F
tetradic
#7F2059 #7F7520 #207F46 #20297F
square
#7F2059 #7F7520 #207F46 #20297F
split-complementary
#7F2059 #297F20 #207F75
monochromatic
#1D0714 #4E1437 #7F2059 #B02C7B #D1489A

Accessibility & contrast

On white

9.32
#7F2059 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7F2059 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2059
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2059#FFFFFF#000000##FFFFFF
##7F20591.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f2059;
/* rgb */ color: rgb(127, 32, 89);
/* oklch */ color: oklch(41.6% 0.142 348.2);
Tailwind
colors: {
  custom: {
    50: '#a86588',
    500: '#7f2059',
    950: '#000000',
  },
}
SCSS
$custom: #7f2059;
$custom-light: #a86588;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2059",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 89
  },
  "hsl": {
    "h": 324,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41597,
    "c": 0.14179,
    "h": 348.2
  },
  "luminance": 0.06266
}

Semantic roles & 50–950 ramp

primary
#7F2059
secondary
#49B273
accent
#E38445
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F2059

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

Preview Lab → · Contrast checker → · Palette generator →

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