#7F1749#7F1749

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

Color values

HEX#7F1749
RGBrgb(127, 23, 73)
HSLhsl(331, 69%, 29%)
HSVhsv(331, 82%, 50%)
CMYKcmyk(0%, 81.9%, 42.5%, 50.2%)
CIE-LABlab(28.40, 46.71, -2.97)
CIE-LCHlch(28.40, 46.81, 356.36°)
OKLaboklab(40.17% 0.1437 -0.0072)
OKLCHoklch(40.17% 0.144 357.1)
XYZxyz(10.2622, 5.6072, 6.8439)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1749 #177F4D
analogous
#7F177D #7F1749 #7F1917
triadic
#7F1749 #497F17 #17497F
tetradic
#7F1749 #7D7F17 #177F4D #19177F
square
#7F1749 #7D7F17 #177F4D #19177F
split-complementary
#7F1749 #177F19 #177D7F
monochromatic
#1A050F #4B0E2B #7F1749 #B32067 #DB3685

Accessibility & contrast

On white

9.90
#7F1749 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7F1749 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1749
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1749#FFFFFF#000000##FFFFFF
##7F17491.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E374A
Deuteranopia (green-blind)
#4B4A47
Tritanopia (blue-blind)
#8A042E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1749;
/* rgb */ color: rgb(127, 23, 73);
/* oklch */ color: oklch(40.2% 0.144 357.1);
Tailwind
colors: {
  custom: {
    50: '#a9617b',
    500: '#7f1749',
    950: '#000000',
  },
}
SCSS
$custom: #7f1749;
$custom-light: #a9617b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1749",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 73
  },
  "hsl": {
    "h": 331.154,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40171,
    "c": 0.14388,
    "h": 357.1
  },
  "luminance": 0.05606
}

Semantic roles & 50–950 ramp

primary
#7F1749
secondary
#3EB47B
accent
#EC973C
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7F1749

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

Preview Lab → · Contrast checker → · Palette generator →

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