#7F173E#7F173E

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

Color values

HEX#7F173E
RGBrgb(127, 23, 62)
HSLhsl(338, 69%, 29%)
HSVhsv(338, 82%, 50%)
CMYKcmyk(0%, 81.9%, 51.2%, 50.2%)
CIE-LABlab(28.04, 45.64, 3.89)
CIE-LCHlch(28.04, 45.80, 4.87°)
OKLaboklab(39.8% 0.1398 0.0104)
OKLCHoklch(39.8% 0.14 4.2)
XYZxyz(9.9292, 5.4740, 5.0902)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F173E #177F58
analogous
#7F1772 #7F173E #7F2417
triadic
#7F173E #3E7F17 #173E7F
tetradic
#7F173E #727F17 #177F58 #24177F
square
#7F173E #727F17 #177F58 #24177F
split-complementary
#7F173E #177F24 #17727F
monochromatic
#1A050D #4B0E25 #7F173E #B32057 #DB3674

Accessibility & contrast

On white

10.03
#7F173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F173E
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F173E#FFFFFF#000000##FFFFFF
##7F173E1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f173e;
/* rgb */ color: rgb(127, 23, 62);
/* oklch */ color: oklch(39.8% 0.140 4.2);
Tailwind
colors: {
  custom: {
    50: '#a96073',
    500: '#7f173e',
    950: '#000000',
  },
}
SCSS
$custom: #7f173e;
$custom-light: #a96073;
$custom-dark: #000000;
JSON
{
  "hex": "#7f173e",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 337.5,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39795,
    "c": 0.14014,
    "h": 4.2
  },
  "luminance": 0.05473
}

Semantic roles & 50–950 ramp

primary
#7F173E
secondary
#3EB488
accent
#ECAA3C
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110508
muted
#807A7B

Preview Lab

Preview with #7F173E

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

Preview Lab → · Contrast checker → · Palette generator →

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