#7D173B#7D173B

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

Color values

HEX#7D173B
RGBrgb(125, 23, 59)
HSLhsl(339, 69%, 29%)
HSVhsv(339, 82%, 49%)
CMYKcmyk(0%, 81.6%, 52.8%, 51%)
CIE-LABlab(27.55, 44.79, 5.15)
CIE-LCHlch(27.55, 45.08, 6.55°)
OKLaboklab(39.33% 0.1369 0.0135)
OKLCHoklch(39.33% 0.138 5.6)
XYZxyz(9.5541, 5.2899, 4.6548)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D173B #177D59
analogous
#7D176E #7D173B #7D2617
triadic
#7D173B #3B7D17 #173B7D
tetradic
#7D173B #6E7D17 #177D59 #26177D
square
#7D173B #6E7D17 #177D59 #26177D
split-complementary
#7D173B #177D26 #176E7D
monochromatic
#1A050C #490D23 #7D173B #B12153 #DA356F

Accessibility & contrast

On white

10.21
#7D173B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D173B
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D173B#FFFFFF#000000##FFFFFF
##7D173B1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d173b;
/* rgb */ color: rgb(125, 23, 59);
/* oklch */ color: oklch(39.3% 0.138 5.6);
Tailwind
colors: {
  custom: {
    50: '#a86070',
    500: '#7d173b',
    950: '#000000',
  },
}
SCSS
$custom: #7d173b;
$custom-light: #a86070;
$custom-dark: #000000;
JSON
{
  "hex": "#7d173b",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 59
  },
  "hsl": {
    "h": 338.824,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39326,
    "c": 0.13757,
    "h": 5.6
  },
  "luminance": 0.05289
}

Semantic roles & 50–950 ramp

primary
#7D173B
secondary
#3EB289
accent
#ECAE3C
background
#FAF5F6
surface
#F5EAEC
border
#CFC6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7D173B

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

Preview Lab → · Contrast checker → · Palette generator →

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