#7F173C#7F173C

#7F173C is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.7% C 0.140 H 5.5°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#7F173C
RGBrgb(127, 23, 60)
HSLhsl(339, 69%, 29%)
HSVhsv(339, 82%, 50%)
CMYKcmyk(0%, 81.9%, 52.8%, 50.2%)
CIE-LABlab(27.99, 45.46, 5.16)
CIE-LCHlch(27.99, 45.75, 6.47°)
OKLaboklab(39.73% 0.139 0.0135)
OKLCHoklch(39.73% 0.14 5.5)
XYZxyz(9.8753, 5.4525, 4.8065)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F173C #177F5A
analogous
#7F1770 #7F173C #7F2617
triadic
#7F173C #3C7F17 #173C7F
tetradic
#7F173C #707F17 #177F5A #26177F
square
#7F173C #707F17 #177F5A #26177F
split-complementary
#7F173C #177F26 #17707F
monochromatic
#1A050C #4B0E24 #7F173C #B32054 #DB3670

Accessibility & contrast

On white

10.05
#7F173C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7F173C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F173C
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F173C#FFFFFF#000000##FFFFFF
##7F173C1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32353D
Deuteranopia (green-blind)
#4D493A
Tritanopia (blue-blind)
#8B0027
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f173c;
/* rgb */ color: rgb(127, 23, 60);
/* oklch */ color: oklch(39.7% 0.140 5.5);
Tailwind
colors: {
  custom: {
    50: '#aa6071',
    500: '#7f173c',
    950: '#000000',
  },
}
SCSS
$custom: #7f173c;
$custom-light: #aa6071;
$custom-dark: #000000;
JSON
{
  "hex": "#7f173c",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 60
  },
  "hsl": {
    "h": 338.654,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39734,
    "c": 0.13964,
    "h": 5.5
  },
  "luminance": 0.05451
}

Semantic roles & 50–950 ramp

primary
#7F173C
secondary
#3EB48A
accent
#ECAD3C
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7F173C

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

Preview Lab → · Contrast checker → · Palette generator →

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