#7F1B49#7F1B49

#7F1B49 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.140 H 357.7°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#7F1B49
RGBrgb(127, 27, 73)
HSLhsl(332, 65%, 30%)
HSVhsv(332, 79%, 50%)
CMYKcmyk(0%, 78.7%, 42.5%, 50.2%)
CIE-LABlab(28.85, 45.45, -2.31)
CIE-LCHlch(28.85, 45.50, 357.09°)
OKLaboklab(40.5% 0.1397 -0.0055)
OKLCHoklch(40.5% 0.14 357.7)
XYZxyz(10.3477, 5.7783, 6.8725)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1B49 #1B7F51
analogous
#7F1B7B #7F1B49 #7F1F1B
triadic
#7F1B49 #497F1B #1B497F
tetradic
#7F1B49 #7B7F1B #1B7F51 #1F1B7F
square
#7F1B49 #7B7F1B #1B7F51 #1F1B7F
split-complementary
#7F1B49 #1B7F1F #1B7B7F
monochromatic
#1A060F #4D102C #7F1B49 #B12666 #D63E84

Accessibility & contrast

On white

9.74
#7F1B49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7F1B49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1B49
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1B49#FFFFFF#000000##FFFFFF
##7F1B491.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31384A
Deuteranopia (green-blind)
#4C4B47
Tritanopia (blue-blind)
#8A0B2F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1b49;
/* rgb */ color: rgb(127, 27, 73);
/* oklch */ color: oklch(40.5% 0.140 357.7);
Tailwind
colors: {
  custom: {
    50: '#a9627b',
    500: '#7f1b49',
    950: '#000000',
  },
}
SCSS
$custom: #7f1b49;
$custom-light: #a9627b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1b49",
  "rgb": {
    "r": 127,
    "g": 27,
    "b": 73
  },
  "hsl": {
    "h": 332.4,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40498,
    "c": 0.13976,
    "h": 357.7
  },
  "luminance": 0.05777
}

Semantic roles & 50–950 ramp

primary
#7F1B49
secondary
#43B37F
accent
#E89B40
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7F1B49

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

Preview Lab → · Contrast checker → · Palette generator →

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