#7D173D#7D173D

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

Color values

HEX#7D173D
RGBrgb(125, 23, 61)
HSLhsl(338, 69%, 29%)
HSVhsv(338, 82%, 49%)
CMYKcmyk(0%, 81.6%, 51.2%, 51%)
CIE-LABlab(27.60, 44.97, 3.88)
CIE-LCHlch(27.60, 45.13, 4.93°)
OKLaboklab(39.39% 0.1377 0.0103)
OKLCHoklch(39.39% 0.138 4.3)
XYZxyz(9.6070, 5.3110, 4.9332)
Luminance0.0531 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D173D #177D57
analogous
#7D1770 #7D173D #7D2417
triadic
#7D173D #3D7D17 #173D7D
tetradic
#7D173D #707D17 #177D57 #24177D
square
#7D173D #707D17 #177D57 #24177D
split-complementary
#7D173D #177D24 #17707D
monochromatic
#1A050D #490D24 #7D173D #B12156 #DA3572

Accessibility & contrast

On white

10.18
#7D173D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D173D
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D173D#FFFFFF#000000##FFFFFF
##7D173D1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31343E
Deuteranopia (green-blind)
#4C483B
Tritanopia (blue-blind)
#890028
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7d173d;
/* rgb */ color: rgb(125, 23, 61);
/* oklch */ color: oklch(39.4% 0.138 4.3);
Tailwind
colors: {
  custom: {
    50: '#a86072',
    500: '#7d173d',
    950: '#000000',
  },
}
SCSS
$custom: #7d173d;
$custom-light: #a86072;
$custom-dark: #000000;
JSON
{
  "hex": "#7d173d",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 61
  },
  "hsl": {
    "h": 337.647,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39387,
    "c": 0.13808,
    "h": 4.3
  },
  "luminance": 0.0531
}

Semantic roles & 50–950 ramp

primary
#7D173D
secondary
#3EB287
accent
#ECAA3C
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7D173D

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

Preview Lab → · Contrast checker → · Palette generator →

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