#7D173E#7D173E

#7D173E is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.138 H 3.6°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#7D173E
RGBrgb(125, 23, 62)
HSLhsl(337, 69%, 29%)
HSVhsv(337, 82%, 49%)
CMYKcmyk(0%, 81.6%, 50.4%, 51%)
CIE-LABlab(27.63, 45.06, 3.25)
CIE-LCHlch(27.63, 45.17, 4.12°)
OKLaboklab(39.42% 0.1381 0.0088)
OKLCHoklch(39.42% 0.138 3.6)
XYZxyz(9.6342, 5.3219, 5.0764)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D173E #177D56
analogous
#7D1771 #7D173E #7D2317
triadic
#7D173E #3E7D17 #173E7D
tetradic
#7D173E #717D17 #177D56 #23177D
square
#7D173E #717D17 #177D56 #23177D
split-complementary
#7D173E #177D23 #17717D
monochromatic
#1A050D #490D24 #7D173E #B12158 #DA3574

Accessibility & contrast

On white

10.17
#7D173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7D173E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D173E
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D173E#FFFFFF#000000##FFFFFF
##7D173E1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31353F
Deuteranopia (green-blind)
#4C483C
Tritanopia (blue-blind)
#890028
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7d173e;
/* rgb */ color: rgb(125, 23, 62);
/* oklch */ color: oklch(39.4% 0.138 3.6);
Tailwind
colors: {
  custom: {
    50: '#a86073',
    500: '#7d173e',
    950: '#000000',
  },
}
SCSS
$custom: #7d173e;
$custom-light: #a86073;
$custom-dark: #000000;
JSON
{
  "hex": "#7d173e",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 337.059,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39419,
    "c": 0.13835,
    "h": 3.6
  },
  "luminance": 0.05321
}

Semantic roles & 50–950 ramp

primary
#7D173E
secondary
#3EB286
accent
#ECA93C
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7D173E

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

Preview Lab → · Contrast checker → · Palette generator →

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