#7F1E56#7F1E56

#7F1E56 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.3% C 0.143 H 349.8°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#7F1E56
RGBrgb(127, 30, 86)
HSLhsl(325, 62%, 31%)
HSVhsv(325, 76%, 50%)
CMYKcmyk(0%, 76.4%, 32.3%, 50.2%)
CIE-LABlab(29.70, 45.93, -9.63)
CIE-LCHlch(29.70, 46.93, 348.16°)
OKLaboklab(41.28% 0.1403 -0.0251)
OKLCHoklch(41.28% 0.143 349.8)
XYZxyz(10.8970, 6.1137, 9.4085)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E56 #1E7F47
analogous
#771E7F #7F1E56 #7F1E25
triadic
#7F1E56 #567F1E #1E567F
tetradic
#7F1E56 #7F771E #1E7F47 #1E257F
square
#7F1E56 #7F771E #1E7F47 #1E257F
split-complementary
#7F1E56 #257F1E #1E7F77
monochromatic
#1C0713 #4D1234 #7F1E56 #B12A78 #D34497

Accessibility & contrast

On white

9.45
#7F1E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7F1E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1E56
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1E56#FFFFFF#000000##FFFFFF
##7F1E561.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3B58
Deuteranopia (green-blind)
#4A4C54
Tritanopia (blue-blind)
#891837
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1e56;
/* rgb */ color: rgb(127, 30, 86);
/* oklch */ color: oklch(41.3% 0.143 349.8);
Tailwind
colors: {
  custom: {
    50: '#a86485',
    500: '#7f1e56',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e56;
$custom-light: #a86485;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e56",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 86
  },
  "hsl": {
    "h": 325.361,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4128,
    "c": 0.14254,
    "h": 349.8
  },
  "luminance": 0.06112
}

Semantic roles & 50–950 ramp

primary
#7F1E56
secondary
#47B274
accent
#E58743
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F1E56

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

Preview Lab → · Contrast checker → · Palette generator →

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