#7F1B4F#7F1B4F

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

Color values

HEX#7F1B4F
RGBrgb(127, 27, 79)
HSLhsl(329, 65%, 30%)
HSVhsv(329, 79%, 50%)
CMYKcmyk(0%, 78.7%, 37.8%, 50.2%)
CIE-LABlab(29.06, 46.11, -5.97)
CIE-LCHlch(29.06, 46.50, 352.62°)
OKLaboklab(40.73% 0.1416 -0.0152)
OKLCHoklch(40.73% 0.142 353.9)
XYZxyz(10.5563, 5.8617, 7.9711)
Luminance0.0586 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1B4F #1B7F4B
analogous
#7D1B7F #7F1B4F #7F1B1D
triadic
#7F1B4F #4F7F1B #1B4F7F
tetradic
#7F1B4F #7F7D1B #1B7F4B #1B1D7F
square
#7F1B4F #7F7D1B #1B7F4B #1B1D7F
split-complementary
#7F1B4F #1D7F1B #1B7F7D
monochromatic
#1A0610 #4D1030 #7F1B4F #B1266E #D63E8D

Accessibility & contrast

On white

9.67
#7F1B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1B4F
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1B4F#FFFFFF#000000##FFFFFF
##7F1B4F1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3950
Deuteranopia (green-blind)
#4B4B4D
Tritanopia (blue-blind)
#891032
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1b4f;
/* rgb */ color: rgb(127, 27, 79);
/* oklch */ color: oklch(40.7% 0.142 353.9);
Tailwind
colors: {
  custom: {
    50: '#a86280',
    500: '#7f1b4f',
    950: '#000000',
  },
}
SCSS
$custom: #7f1b4f;
$custom-light: #a86280;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1b4f",
  "rgb": {
    "r": 127,
    "g": 27,
    "b": 79
  },
  "hsl": {
    "h": 328.8,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40726,
    "c": 0.14239,
    "h": 353.9
  },
  "luminance": 0.0586
}

Semantic roles & 50–950 ramp

primary
#7F1B4F
secondary
#43B379
accent
#E89140
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F1B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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