#7F1249#7F1249

#7F1249 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.8% C 0.148 H 356.5°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#7F1249
RGBrgb(127, 18, 73)
HSLhsl(330, 75%, 28%)
HSVhsv(330, 86%, 50%)
CMYKcmyk(0%, 85.8%, 42.5%, 50.2%)
CIE-LABlab(27.92, 48.09, -3.68)
CIE-LCHlch(27.92, 48.23, 355.62°)
OKLaboklab(39.82% 0.1481 -0.0091)
OKLCHoklch(39.82% 0.148 356.5)
XYZxyz(10.1721, 5.4270, 6.8139)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1249 #127F48
analogous
#7E127F #7F1249 #7F1212
triadic
#7F1249 #497F12 #12497F
tetradic
#7F1249 #7F7E12 #127F48 #12127F
square
#7F1249 #7F7E12 #127F48 #12127F
split-complementary
#7F1249 #127F12 #127F7E
monochromatic
#1B040F #490A2A #7F1249 #B51A68 #E12B87

Accessibility & contrast

On white

10.07
#7F1249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7F1249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1249
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1249#FFFFFF#000000##FFFFFF
##7F12491.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C354A
Deuteranopia (green-blind)
#4A4947
Tritanopia (blue-blind)
#8A002C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1249;
/* rgb */ color: rgb(127, 18, 73);
/* oklch */ color: oklch(39.8% 0.148 356.5);
Tailwind
colors: {
  custom: {
    50: '#a95f7b',
    500: '#7f1249',
    950: '#000000',
  },
}
SCSS
$custom: #7f1249;
$custom-light: #a95f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1249",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 73
  },
  "hsl": {
    "h": 329.725,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3982,
    "c": 0.14839,
    "h": 356.5
  },
  "luminance": 0.05426
}

Semantic roles & 50–950 ramp

primary
#7F1249
secondary
#38B576
accent
#F29336
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110509
muted
#80797B

Preview Lab

Preview with #7F1249

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

Preview Lab → · Contrast checker → · Palette generator →

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