#7F1239#7F1239

#7F1239 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.3% C 0.143 H 6.6°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#7F1239
RGBrgb(127, 18, 57)
HSLhsl(339, 75%, 28%)
HSVhsv(339, 86%, 50%)
CMYKcmyk(0%, 85.8%, 55.1%, 50.2%)
CIE-LABlab(27.41, 46.60, 6.37)
CIE-LCHlch(27.41, 47.04, 7.78°)
OKLaboklab(39.28% 0.1423 0.0164)
OKLCHoklch(39.28% 0.143 6.6)
XYZxyz(9.7081, 5.2415, 4.3706)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1239 #127F58
analogous
#7F126F #7F1239 #7F2112
triadic
#7F1239 #397F12 #12397F
tetradic
#7F1239 #6F7F12 #127F58 #21127F
square
#7F1239 #6F7F12 #127F58 #21127F
split-complementary
#7F1239 #127F21 #126F7F
monochromatic
#1B040C #490A21 #7F1239 #B51A51 #E12B6C

Accessibility & contrast

On white

10.25
#7F1239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7F1239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1239
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1239#FFFFFF#000000##FFFFFF
##7F12391.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31333A
Deuteranopia (green-blind)
#4D4836
Tritanopia (blue-blind)
#8B0024
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1239;
/* rgb */ color: rgb(127, 18, 57);
/* oklch */ color: oklch(39.3% 0.143 6.6);
Tailwind
colors: {
  custom: {
    50: '#aa5e6f',
    500: '#7f1239',
    950: '#000000',
  },
}
SCSS
$custom: #7f1239;
$custom-light: #aa5e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1239",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 57
  },
  "hsl": {
    "h": 338.532,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39284,
    "c": 0.14327,
    "h": 6.6
  },
  "luminance": 0.0524
}

Semantic roles & 50–950 ramp

primary
#7F1239
secondary
#38B588
accent
#F2AF36
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7F1239

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

Preview Lab → · Contrast checker → · Palette generator →

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