#7F173D#7F173D

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

Color values

HEX#7F173D
RGBrgb(127, 23, 61)
HSLhsl(338, 69%, 29%)
HSVhsv(338, 82%, 50%)
CMYKcmyk(0%, 81.9%, 52%, 50.2%)
CIE-LABlab(28.02, 45.55, 4.52)
CIE-LCHlch(28.02, 45.77, 5.67°)
OKLaboklab(39.76% 0.1394 0.0119)
OKLCHoklch(39.76% 0.14 4.9)
XYZxyz(9.9020, 5.4631, 4.9471)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F173D #177F59
analogous
#7F1771 #7F173D #7F2517
triadic
#7F173D #3D7F17 #173D7F
tetradic
#7F173D #717F17 #177F59 #25177F
square
#7F173D #717F17 #177F59 #25177F
split-complementary
#7F173D #177F25 #17717F
monochromatic
#1A050C #4B0E24 #7F173D #B32056 #DB3672

Accessibility & contrast

On white

10.04
#7F173D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F173D
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F173D#FFFFFF#000000##FFFFFF
##7F173D1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32353E
Deuteranopia (green-blind)
#4D493B
Tritanopia (blue-blind)
#8B0028
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f173d;
/* rgb */ color: rgb(127, 23, 61);
/* oklch */ color: oklch(39.8% 0.140 4.9);
Tailwind
colors: {
  custom: {
    50: '#aa6072',
    500: '#7f173d',
    950: '#000000',
  },
}
SCSS
$custom: #7f173d;
$custom-light: #aa6072;
$custom-dark: #000000;
JSON
{
  "hex": "#7f173d",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 61
  },
  "hsl": {
    "h": 338.077,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39764,
    "c": 0.13989,
    "h": 4.9
  },
  "luminance": 0.05462
}

Semantic roles & 50–950 ramp

primary
#7F173D
secondary
#3EB489
accent
#ECAC3C
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7F173D

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

Preview Lab → · Contrast checker → · Palette generator →

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