#7F1E48#7F1E48

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

Color values

HEX#7F1E48
RGBrgb(127, 30, 72)
HSLhsl(334, 62%, 31%)
HSVhsv(334, 76%, 50%)
CMYKcmyk(0%, 76.4%, 43.3%, 50.2%)
CIE-LABlab(29.18, 44.29, -1.15)
CIE-LCHlch(29.18, 44.31, 358.52°)
OKLaboklab(40.74% 0.136 -0.0025)
OKLCHoklch(40.74% 0.136 359)
XYZxyz(10.3871, 5.9098, 6.7234)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E48 #1E7F55
analogous
#7F1E78 #7F1E48 #7F251E
triadic
#7F1E48 #487F1E #1E487F
tetradic
#7F1E48 #787F1E #1E7F55 #251E7F
square
#7F1E48 #787F1E #1E7F55 #251E7F
split-complementary
#7F1E48 #1E7F25 #1E787F
monochromatic
#1C0710 #4D122C #7F1E48 #B12A64 #D34482

Accessibility & contrast

On white

9.63
#7F1E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7F1E48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1E48
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1E48#FFFFFF#000000##FFFFFF
##7F1E481.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333949
Deuteranopia (green-blind)
#4D4B46
Tritanopia (blue-blind)
#8A1030
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1e48;
/* rgb */ color: rgb(127, 30, 72);
/* oklch */ color: oklch(40.7% 0.136 359.0);
Tailwind
colors: {
  custom: {
    50: '#a9637a',
    500: '#7f1e48',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e48;
$custom-light: #a9637a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e48",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 72
  },
  "hsl": {
    "h": 334.021,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40735,
    "c": 0.13599,
    "h": 359
  },
  "luminance": 0.05908
}

Semantic roles & 50–950 ramp

primary
#7F1E48
secondary
#47B284
accent
#E59F43
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7F1E48

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

Preview Lab → · Contrast checker → · Palette generator →

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