#7F1739#7F1739

#7F1739 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.139 H 7.5°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#7F1739
RGBrgb(127, 23, 57)
HSLhsl(340, 69%, 29%)
HSVhsv(340, 82%, 50%)
CMYKcmyk(0%, 81.9%, 55.1%, 50.2%)
CIE-LABlab(27.90, 45.20, 7.06)
CIE-LCHlch(27.90, 45.75, 8.88°)
OKLaboklab(39.65% 0.1378 0.0181)
OKLCHoklch(39.65% 0.139 7.5)
XYZxyz(9.7982, 5.4216, 4.4006)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1739 #177F5D
analogous
#7F176D #7F1739 #7F2917
triadic
#7F1739 #397F17 #17397F
tetradic
#7F1739 #6D7F17 #177F5D #29177F
square
#7F1739 #6D7F17 #177F5D #29177F
split-complementary
#7F1739 #177F29 #176D7F
monochromatic
#1A050C #4B0E22 #7F1739 #B32050 #DB366C

Accessibility & contrast

On white

10.08
#7F1739 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7F1739 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1739
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1739#FFFFFF#000000##FFFFFF
##7F17391.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33353A
Deuteranopia (green-blind)
#4E4936
Tritanopia (blue-blind)
#8B0026
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1739;
/* rgb */ color: rgb(127, 23, 57);
/* oklch */ color: oklch(39.6% 0.139 7.5);
Tailwind
colors: {
  custom: {
    50: '#aa606f',
    500: '#7f1739',
    950: '#000000',
  },
}
SCSS
$custom: #7f1739;
$custom-light: #aa606f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1739",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 57
  },
  "hsl": {
    "h": 340.385,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39646,
    "c": 0.13898,
    "h": 7.5
  },
  "luminance": 0.0542
}

Semantic roles & 50–950 ramp

primary
#7F1739
secondary
#3EB48D
accent
#ECB23C
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7F1739

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

Preview Lab → · Contrast checker → · Palette generator →

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