#7D174B#7D174B

#7D174B is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.143 H 355.1°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#7D174B
RGBrgb(125, 23, 75)
HSLhsl(329, 69%, 29%)
HSVhsv(329, 82%, 49%)
CMYKcmyk(0%, 81.6%, 40%, 51%)
CIE-LABlab(28.07, 46.37, -4.84)
CIE-LCHlch(28.07, 46.63, 354.04°)
OKLaboklab(39.88% 0.1426 -0.0122)
OKLCHoklch(39.88% 0.143 355.1)
XYZxyz(10.0345, 5.4820, 7.1850)
Luminance0.0548 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D174B #177D49
analogous
#7C177D #7D174B #7D1718
triadic
#7D174B #4B7D17 #174B7D
tetradic
#7D174B #7D7C17 #177D49 #17187D
square
#7D174B #7D7C17 #177D49 #17187D
split-complementary
#7D174B #187D17 #177D7C
monochromatic
#1A0510 #490D2C #7D174B #B1216A #DA3589

Accessibility & contrast

On white

10.02
#7D174B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7D174B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D174B
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D174B#FFFFFF#000000##FFFFFF
##7D174B1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D364C
Deuteranopia (green-blind)
#494949
Tritanopia (blue-blind)
#88082F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d174b;
/* rgb */ color: rgb(125, 23, 75);
/* oklch */ color: oklch(39.9% 0.143 355.1);
Tailwind
colors: {
  custom: {
    50: '#a7607d',
    500: '#7d174b',
    950: '#000000',
  },
}
SCSS
$custom: #7d174b;
$custom-light: #a7607d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d174b",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 75
  },
  "hsl": {
    "h": 329.412,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39878,
    "c": 0.14312,
    "h": 355.1
  },
  "luminance": 0.05481
}

Semantic roles & 50–950 ramp

primary
#7D174B
secondary
#3EB277
accent
#EC923C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7D174B

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

Preview Lab → · Contrast checker → · Palette generator →

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