#7F1648#7F1648

#7F1648 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.144 H 357.6°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#7F1648
RGBrgb(127, 22, 72)
HSLhsl(331, 70%, 29%)
HSVhsv(331, 83%, 50%)
CMYKcmyk(0%, 82.7%, 43.3%, 50.2%)
CIE-LABlab(28.26, 46.90, -2.51)
CIE-LCHlch(28.26, 46.97, 356.94°)
OKLaboklab(40.06% 0.1443 -0.006)
OKLCHoklch(40.06% 0.144 357.6)
XYZxyz(10.2098, 5.5551, 6.6642)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1648 #167F4D
analogous
#7F167D #7F1648 #7F1916
triadic
#7F1648 #487F16 #16487F
tetradic
#7F1648 #7D7F16 #167F4D #19167F
square
#7F1648 #7D7F16 #167F4D #19167F
split-complementary
#7F1648 #167F19 #167D7F
monochromatic
#1A050F #4B0D2A #7F1648 #B31F66 #DC3484

Accessibility & contrast

On white

9.95
#7F1648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7F1648 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1648
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1648#FFFFFF#000000##FFFFFF
##7F16481.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3649
Deuteranopia (green-blind)
#4B4A46
Tritanopia (blue-blind)
#8A012D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1648;
/* rgb */ color: rgb(127, 22, 72);
/* oklch */ color: oklch(40.1% 0.144 357.6);
Tailwind
colors: {
  custom: {
    50: '#a9607a',
    500: '#7f1648',
    950: '#000000',
  },
}
SCSS
$custom: #7f1648;
$custom-light: #a9607a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1648",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 72
  },
  "hsl": {
    "h": 331.429,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40058,
    "c": 0.14443,
    "h": 357.6
  },
  "luminance": 0.05554
}

Semantic roles & 50–950 ramp

primary
#7F1648
secondary
#3DB47B
accent
#ED983B
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110509
muted
#807A7B

Preview Lab

Preview with #7F1648

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

Preview Lab → · Contrast checker → · Palette generator →

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