#7D173C#7D173C

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

Color values

HEX#7D173C
RGBrgb(125, 23, 60)
HSLhsl(338, 69%, 29%)
HSVhsv(338, 82%, 49%)
CMYKcmyk(0%, 81.6%, 52%, 51%)
CIE-LABlab(27.57, 44.87, 4.51)
CIE-LCHlch(27.57, 45.10, 5.74°)
OKLaboklab(39.36% 0.1373 0.0119)
OKLCHoklch(39.36% 0.138 5)
XYZxyz(9.5803, 5.3004, 4.7927)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D173C #177D58
analogous
#7D176F #7D173C #7D2517
triadic
#7D173C #3C7D17 #173C7D
tetradic
#7D173C #6F7D17 #177D58 #25177D
square
#7D173C #6F7D17 #177D58 #25177D
split-complementary
#7D173C #177D25 #176F7D
monochromatic
#1A050C #490D23 #7D173C #B12155 #DA3571

Accessibility & contrast

On white

10.20
#7D173C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D173C
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D173C#FFFFFF#000000##FFFFFF
##7D173C1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31343D
Deuteranopia (green-blind)
#4C483A
Tritanopia (blue-blind)
#890027
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7d173c;
/* rgb */ color: rgb(125, 23, 60);
/* oklch */ color: oklch(39.4% 0.138 5.0);
Tailwind
colors: {
  custom: {
    50: '#a86071',
    500: '#7d173c',
    950: '#000000',
  },
}
SCSS
$custom: #7d173c;
$custom-light: #a86071;
$custom-dark: #000000;
JSON
{
  "hex": "#7d173c",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 60
  },
  "hsl": {
    "h": 338.235,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39356,
    "c": 0.13781,
    "h": 5
  },
  "luminance": 0.05299
}

Semantic roles & 50–950 ramp

primary
#7D173C
secondary
#3EB288
accent
#ECAC3C
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7D173C

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

Preview Lab → · Contrast checker → · Palette generator →

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