#7F1745#7F1745

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

Color values

HEX#7F1745
RGBrgb(127, 23, 69)
HSLhsl(333, 69%, 29%)
HSVhsv(333, 82%, 50%)
CMYKcmyk(0%, 81.9%, 45.7%, 50.2%)
CIE-LABlab(28.26, 46.30, -0.49)
CIE-LCHlch(28.26, 46.30, 359.39°)
OKLaboklab(40.03% 0.1423 -0.0008)
OKLCHoklch(40.03% 0.142 359.7)
XYZxyz(10.1338, 5.5558, 6.1678)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1745 #177F51
analogous
#7F1779 #7F1745 #7F1D17
triadic
#7F1745 #457F17 #17457F
tetradic
#7F1745 #797F17 #177F51 #1D177F
square
#7F1745 #797F17 #177F51 #1D177F
split-complementary
#7F1745 #177F1D #17797F
monochromatic
#1A050E #4B0E29 #7F1745 #B32061 #DB367F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F1745#FFFFFF#000000##FFFFFF
##7F17451.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)
#303646
Deuteranopia (green-blind)
#4C4A43
Tritanopia (blue-blind)
#8A002C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1745;
/* rgb */ color: rgb(127, 23, 69);
/* oklch */ color: oklch(40.0% 0.142 359.7);
Tailwind
colors: {
  custom: {
    50: '#a96078',
    500: '#7f1745',
    950: '#000000',
  },
}
SCSS
$custom: #7f1745;
$custom-light: #a96078;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1745",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 69
  },
  "hsl": {
    "h": 333.462,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40027,
    "c": 0.14234,
    "h": 359.7
  },
  "luminance": 0.05554
}

Semantic roles & 50–950 ramp

primary
#7F1745
secondary
#3EB480
accent
#EC9E3C
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110509
muted
#807A7B

Preview Lab

Preview with #7F1745

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

Preview Lab → · Contrast checker → · Palette generator →

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