#7D174E#7D174E

#7D174E is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.145 H 353.2°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#7D174E
RGBrgb(125, 23, 78)
HSLhsl(328, 69%, 29%)
HSVhsv(328, 82%, 49%)
CMYKcmyk(0%, 81.6%, 37.6%, 51%)
CIE-LABlab(28.18, 46.71, -6.67)
CIE-LCHlch(28.18, 47.19, 351.87°)
OKLaboklab(40% 0.1435 -0.0171)
OKLCHoklch(40% 0.145 353.2)
XYZxyz(10.1396, 5.5241, 7.7386)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D174E #177D46
analogous
#79177D #7D174E #7D171B
triadic
#7D174E #4E7D17 #174E7D
tetradic
#7D174E #7D7917 #177D46 #171B7D
square
#7D174E #7D7917 #177D46 #171B7D
split-complementary
#7D174E #1B7D17 #177D79
monochromatic
#1A0510 #490D2E #7D174E #B1216E #DA358E

Accessibility & contrast

On white

9.98
#7D174E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D174E
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D174E#FFFFFF#000000##FFFFFF
##7D174E1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B374F
Deuteranopia (green-blind)
#48494C
Tritanopia (blue-blind)
#870A30
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d174e;
/* rgb */ color: rgb(125, 23, 78);
/* oklch */ color: oklch(40.0% 0.145 353.2);
Tailwind
colors: {
  custom: {
    50: '#a7607f',
    500: '#7d174e',
    950: '#000000',
  },
}
SCSS
$custom: #7d174e;
$custom-light: #a7607f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d174e",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 78
  },
  "hsl": {
    "h": 327.647,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39996,
    "c": 0.14451,
    "h": 353.2
  },
  "luminance": 0.05523
}

Semantic roles & 50–950 ramp

primary
#7D174E
secondary
#3EB273
accent
#EC8D3C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7D174E

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

Preview Lab → · Contrast checker → · Palette generator →

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