#7F1B4E#7F1B4E

#7F1B4E is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.142 H 354.5°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#7F1B4E
RGBrgb(127, 27, 78)
HSLhsl(329, 65%, 30%)
HSVhsv(329, 79%, 50%)
CMYKcmyk(0%, 78.7%, 38.6%, 50.2%)
CIE-LABlab(29.02, 46.00, -5.37)
CIE-LCHlch(29.02, 46.31, 353.34°)
OKLaboklab(40.69% 0.1413 -0.0136)
OKLCHoklch(40.69% 0.142 354.5)
XYZxyz(10.5202, 5.8473, 7.7809)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1B4E #1B7F4C
analogous
#7E1B7F #7F1B4E #7F1B1C
triadic
#7F1B4E #4E7F1B #1B4E7F
tetradic
#7F1B4E #7F7E1B #1B7F4C #1B1C7F
square
#7F1B4E #7F7E1B #1B7F4C #1B1C7F
split-complementary
#7F1B4E #1C7F1B #1B7F7E
monochromatic
#1A0610 #4D102F #7F1B4E #B1266D #D63E8C

Accessibility & contrast

On white

9.68
#7F1B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7F1B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1B4E
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1B4E#FFFFFF#000000##FFFFFF
##7F1B4E1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F394F
Deuteranopia (green-blind)
#4B4B4C
Tritanopia (blue-blind)
#890F32
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1b4e;
/* rgb */ color: rgb(127, 27, 78);
/* oklch */ color: oklch(40.7% 0.142 354.5);
Tailwind
colors: {
  custom: {
    50: '#a8627f',
    500: '#7f1b4e',
    950: '#000000',
  },
}
SCSS
$custom: #7f1b4e;
$custom-light: #a8627f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1b4e",
  "rgb": {
    "r": 127,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 329.4,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40686,
    "c": 0.14191,
    "h": 354.5
  },
  "luminance": 0.05846
}

Semantic roles & 50–950 ramp

primary
#7F1B4E
secondary
#43B37A
accent
#E89240
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F1B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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