#7F1E4D#7F1E4D

#7F1E4D is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.138 H 355.6°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#7F1E4D
RGBrgb(127, 30, 77)
HSLhsl(331, 62%, 31%)
HSVhsv(331, 76%, 50%)
CMYKcmyk(0%, 76.4%, 39.4%, 50.2%)
CIE-LABlab(29.36, 44.84, -4.21)
CIE-LCHlch(29.36, 45.04, 354.64°)
OKLaboklab(40.92% 0.1377 -0.0105)
OKLCHoklch(40.92% 0.138 355.6)
XYZxyz(10.5569, 5.9777, 7.6176)
Luminance0.0598 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E4D #1E7F50
analogous
#7F1E7D #7F1E4D #7F201E
triadic
#7F1E4D #4D7F1E #1E4D7F
tetradic
#7F1E4D #7D7F1E #1E7F50 #201E7F
square
#7F1E4D #7D7F1E #1E7F50 #201E7F
split-complementary
#7F1E4D #1E7F20 #1E7D7F
monochromatic
#1C0711 #4D122F #7F1E4D #B12A6B #D34489

Accessibility & contrast

On white

9.57
#7F1E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7F1E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1E4D
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1E4D#FFFFFF#000000##FFFFFF
##7F1E4D1.009.572.209.57
#FFFFFF9.571.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313A4E
Deuteranopia (green-blind)
#4C4C4B
Tritanopia (blue-blind)
#8A1333
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1e4d;
/* rgb */ color: rgb(127, 30, 77);
/* oklch */ color: oklch(40.9% 0.138 355.6);
Tailwind
colors: {
  custom: {
    50: '#a8637e',
    500: '#7f1e4d',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e4d;
$custom-light: #a8637e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e4d",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 77
  },
  "hsl": {
    "h": 330.928,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40918,
    "c": 0.13805,
    "h": 355.6
  },
  "luminance": 0.05976
}

Semantic roles & 50–950 ramp

primary
#7F1E4D
secondary
#47B27E
accent
#E59643
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F1E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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