#7D175E#7D175E

#7D175E is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.154 H 343.6°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#7D175E
RGBrgb(125, 23, 94)
HSLhsl(318, 69%, 29%)
HSVhsv(318, 82%, 49%)
CMYKcmyk(0%, 81.6%, 24.8%, 51%)
CIE-LABlab(28.86, 48.72, -16.19)
CIE-LCHlch(28.86, 51.34, 341.62°)
OKLaboklab(40.71% 0.1473 -0.0433)
OKLCHoklch(40.71% 0.154 343.6)
XYZxyz(10.7847, 5.7821, 11.1356)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D175E #177D36
analogous
#69177D #7D175E #7D172B
triadic
#7D175E #5E7D17 #175E7D
tetradic
#7D175E #7D6917 #177D36 #172B7D
square
#7D175E #7D6917 #177D36 #172B7D
split-complementary
#7D175E #2B7D17 #177D69
monochromatic
#1A0513 #490D37 #7D175E #B12185 #DA35A8

Accessibility & contrast

On white

9.74
#7D175E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7D175E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D175E
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D175E#FFFFFF#000000##FFFFFF
##7D175E1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243960
Deuteranopia (green-blind)
#444A5C
Tritanopia (blue-blind)
#861739
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d175e;
/* rgb */ color: rgb(125, 23, 94);
/* oklch */ color: oklch(40.7% 0.154 343.6);
Tailwind
colors: {
  custom: {
    50: '#a6618b',
    500: '#7d175e',
    950: '#000000',
  },
}
SCSS
$custom: #7d175e;
$custom-light: #a6618b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d175e",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 94
  },
  "hsl": {
    "h": 318.235,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4071,
    "c": 0.15351,
    "h": 343.6
  },
  "luminance": 0.05781
}

Semantic roles & 50–950 ramp

primary
#7D175E
secondary
#3EB261
accent
#EC713C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D175E

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

Preview Lab → · Contrast checker → · Palette generator →

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