#7F1E4F#7F1E4F

#7F1E4F is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.0% C 0.139 H 354.3°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#7F1E4F
RGBrgb(127, 30, 79)
HSLhsl(330, 62%, 31%)
HSVhsv(330, 76%, 50%)
CMYKcmyk(0%, 76.4%, 37.8%, 50.2%)
CIE-LABlab(29.43, 45.08, -5.43)
CIE-LCHlch(29.43, 45.40, 353.14°)
OKLaboklab(41% 0.1383 -0.0138)
OKLCHoklch(41% 0.139 354.3)
XYZxyz(10.6286, 6.0064, 7.9953)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E4F #1E7F4E
analogous
#7E1E7F #7F1E4F #7F1E1E
triadic
#7F1E4F #4F7F1E #1E4F7F
tetradic
#7F1E4F #7F7E1E #1E7F4E #1E1E7F
square
#7F1E4F #7F7E1E #1E7F4E #1E1E7F
split-complementary
#7F1E4F #1E7F1E #1E7F7E
monochromatic
#1C0711 #4D1230 #7F1E4F #B12A6E #D3448C

Accessibility & contrast

On white

9.54
#7F1E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1E4F
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1E4F#FFFFFF#000000##FFFFFF
##7F1E4F1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303A50
Deuteranopia (green-blind)
#4B4C4D
Tritanopia (blue-blind)
#891434
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1e4f;
/* rgb */ color: rgb(127, 30, 79);
/* oklch */ color: oklch(41.0% 0.139 354.3);
Tailwind
colors: {
  custom: {
    50: '#a86380',
    500: '#7f1e4f',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e4f;
$custom-light: #a86380;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e4f",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 79
  },
  "hsl": {
    "h": 329.691,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40995,
    "c": 0.13896,
    "h": 354.3
  },
  "luminance": 0.06005
}

Semantic roles & 50–950 ramp

primary
#7F1E4F
secondary
#47B27C
accent
#E59343
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F1E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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