#7F1F59#7F1F59

#7F1F59 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.143 H 348.1°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#7F1F59
RGBrgb(127, 31, 89)
HSLhsl(324, 61%, 31%)
HSVhsv(324, 76%, 50%)
CMYKcmyk(0%, 75.6%, 29.9%, 50.2%)
CIE-LABlab(29.95, 45.95, -11.22)
CIE-LCHlch(29.95, 47.30, 346.28°)
OKLaboklab(41.5% 0.14 -0.0295)
OKLCHoklch(41.5% 0.143 348.1)
XYZxyz(11.0461, 6.2145, 10.0671)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1F59 #1F7F45
analogous
#751F7F #7F1F59 #7F1F29
triadic
#7F1F59 #597F1F #1F597F
tetradic
#7F1F59 #7F751F #1F7F45 #1F297F
square
#7F1F59 #7F751F #1F7F45 #1F297F
split-complementary
#7F1F59 #297F1F #1F7F75
monochromatic
#1D0714 #4E1337 #7F1F59 #B02B7B #D2469B

Accessibility & contrast

On white

9.36
#7F1F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7F1F59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1F59
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1F59#FFFFFF#000000##FFFFFF
##7F1F591.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3C5B
Deuteranopia (green-blind)
#494D57
Tritanopia (blue-blind)
#881B39
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f1f59;
/* rgb */ color: rgb(127, 31, 89);
/* oklch */ color: oklch(41.5% 0.143 348.1);
Tailwind
colors: {
  custom: {
    50: '#a86488',
    500: '#7f1f59',
    950: '#000000',
  },
}
SCSS
$custom: #7f1f59;
$custom-light: #a86488;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1f59",
  "rgb": {
    "r": 127,
    "g": 31,
    "b": 89
  },
  "hsl": {
    "h": 323.75,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41502,
    "c": 0.14303,
    "h": 348.1
  },
  "luminance": 0.06213
}

Semantic roles & 50–950 ramp

primary
#7F1F59
secondary
#48B272
accent
#E48344
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F1F59

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

Preview Lab → · Contrast checker → · Palette generator →

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