#7D173F#7D173F

#7D173F is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.139 H 3.0°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#7D173F
RGBrgb(125, 23, 63)
HSLhsl(336, 69%, 29%)
HSVhsv(336, 82%, 49%)
CMYKcmyk(0%, 81.6%, 49.6%, 51%)
CIE-LABlab(27.66, 45.15, 2.62)
CIE-LCHlch(27.66, 45.22, 3.32°)
OKLaboklab(39.45% 0.1385 0.0072)
OKLCHoklch(39.45% 0.139 3)
XYZxyz(9.6619, 5.3330, 5.2223)
Luminance0.0533 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D173F #177D55
analogous
#7D1772 #7D173F #7D2217
triadic
#7D173F #3F7D17 #173F7D
tetradic
#7D173F #727D17 #177D55 #22177D
square
#7D173F #727D17 #177D55 #22177D
split-complementary
#7D173F #177D22 #17727D
monochromatic
#1A050D #490D25 #7D173F #B12159 #DA3575

Accessibility & contrast

On white

10.16
#7D173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7D173F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D173F
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D173F#FFFFFF#000000##FFFFFF
##7D173F1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303540
Deuteranopia (green-blind)
#4C483D
Tritanopia (blue-blind)
#880029
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7d173f;
/* rgb */ color: rgb(125, 23, 63);
/* oklch */ color: oklch(39.5% 0.139 3.0);
Tailwind
colors: {
  custom: {
    50: '#a86073',
    500: '#7d173f',
    950: '#000000',
  },
}
SCSS
$custom: #7d173f;
$custom-light: #a86073;
$custom-dark: #000000;
JSON
{
  "hex": "#7d173f",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 336.471,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39451,
    "c": 0.13864,
    "h": 3
  },
  "luminance": 0.05332
}

Semantic roles & 50–950 ramp

primary
#7D173F
secondary
#3EB284
accent
#ECA73C
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7D173F

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

Preview Lab → · Contrast checker → · Palette generator →

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