#7F173F#7F173F

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

Color values

HEX#7F173F
RGBrgb(127, 23, 63)
HSLhsl(337, 69%, 29%)
HSVhsv(337, 82%, 50%)
CMYKcmyk(0%, 81.9%, 50.4%, 50.2%)
CIE-LABlab(28.07, 45.73, 3.26)
CIE-LCHlch(28.07, 45.84, 4.08°)
OKLaboklab(39.83% 0.1402 0.0088)
OKLCHoklch(39.83% 0.14 3.6)
XYZxyz(9.9569, 5.4851, 5.2361)
Luminance0.0548 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F173F #177F57
analogous
#7F1773 #7F173F #7F2317
triadic
#7F173F #3F7F17 #173F7F
tetradic
#7F173F #737F17 #177F57 #23177F
square
#7F173F #737F17 #177F57 #23177F
split-complementary
#7F173F #177F23 #17737F
monochromatic
#1A050D #4B0E25 #7F173F #B32059 #DB3675

Accessibility & contrast

On white

10.02
#7F173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7F173F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F173F
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F173F#FFFFFF#000000##FFFFFF
##7F173F1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313540
Deuteranopia (green-blind)
#4D4A3D
Tritanopia (blue-blind)
#8B0029
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f173f;
/* rgb */ color: rgb(127, 23, 63);
/* oklch */ color: oklch(39.8% 0.140 3.6);
Tailwind
colors: {
  custom: {
    50: '#a96073',
    500: '#7f173f',
    950: '#000000',
  },
}
SCSS
$custom: #7f173f;
$custom-light: #a96073;
$custom-dark: #000000;
JSON
{
  "hex": "#7f173f",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 336.923,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39827,
    "c": 0.14043,
    "h": 3.6
  },
  "luminance": 0.05484
}

Semantic roles & 50–950 ramp

primary
#7F173F
secondary
#3EB486
accent
#ECA83C
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110508
muted
#807A7B

Preview Lab

Preview with #7F173F

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

Preview Lab → · Contrast checker → · Palette generator →

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