#7F1849#7F1849

#7F1849 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.143 H 357.3°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#7F1849
RGBrgb(127, 24, 73)
HSLhsl(331, 68%, 30%)
HSVhsv(331, 81%, 50%)
CMYKcmyk(0%, 81.1%, 42.5%, 50.2%)
CIE-LABlab(28.51, 46.41, -2.81)
CIE-LCHlch(28.51, 46.49, 356.53°)
OKLaboklab(40.25% 0.1427 -0.0068)
OKLCHoklch(40.25% 0.143 357.3)
XYZxyz(10.2824, 5.6477, 6.8507)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1849 #187F4E
analogous
#7F187D #7F1849 #7F1A18
triadic
#7F1849 #497F18 #18497F
tetradic
#7F1849 #7D7F18 #187F4E #1A187F
square
#7F1849 #7D7F18 #187F4E #1A187F
split-complementary
#7F1849 #187F1A #187D7F
monochromatic
#1A050F #4C0E2B #7F1849 #B22267 #D93885

Accessibility & contrast

On white

9.86
#7F1849 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7F1849 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1849
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1849#FFFFFF#000000##FFFFFF
##7F18491.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F374A
Deuteranopia (green-blind)
#4B4A47
Tritanopia (blue-blind)
#8A062E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1849;
/* rgb */ color: rgb(127, 24, 73);
/* oklch */ color: oklch(40.2% 0.143 357.3);
Tailwind
colors: {
  custom: {
    50: '#a9617b',
    500: '#7f1849',
    950: '#000000',
  },
}
SCSS
$custom: #7f1849;
$custom-light: #a9617b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1849",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 73
  },
  "hsl": {
    "h": 331.456,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40249,
    "c": 0.14289,
    "h": 357.3
  },
  "luminance": 0.05646
}

Semantic roles & 50–950 ramp

primary
#7F1849
secondary
#3FB37C
accent
#EB983D
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7F1849

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

Preview Lab → · Contrast checker → · Palette generator →

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