#7D1758#7D1758

#7D1758 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.150 H 347.1°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#7D1758
RGBrgb(125, 23, 88)
HSLhsl(322, 69%, 29%)
HSVhsv(322, 82%, 49%)
CMYKcmyk(0%, 81.6%, 29.6%, 51%)
CIE-LABlab(28.59, 47.93, -12.67)
CIE-LCHlch(28.59, 49.57, 345.19°)
OKLaboklab(40.43% 0.1461 -0.0335)
OKLCHoklch(40.43% 0.15 347.1)
XYZxyz(10.5258, 5.6786, 9.7724)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1758 #177D3C
analogous
#6F177D #7D1758 #7D1725
triadic
#7D1758 #587D17 #17587D
tetradic
#7D1758 #7D6F17 #177D3C #17257D
square
#7D1758 #7D6F17 #177D3C #17257D
split-complementary
#7D1758 #257D17 #177D6F
monochromatic
#1A0512 #490D34 #7D1758 #B1217C #DA359E

Accessibility & contrast

On white

9.83
#7D1758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7D1758 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1758
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1758#FFFFFF#000000##FFFFFF
##7D17581.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27385A
Deuteranopia (green-blind)
#464A56
Tritanopia (blue-blind)
#861336
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1758;
/* rgb */ color: rgb(125, 23, 88);
/* oklch */ color: oklch(40.4% 0.150 347.1);
Tailwind
colors: {
  custom: {
    50: '#a76187',
    500: '#7d1758',
    950: '#000000',
  },
}
SCSS
$custom: #7d1758;
$custom-light: #a76187;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1758",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 88
  },
  "hsl": {
    "h": 321.765,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40427,
    "c": 0.14986,
    "h": 347.1
  },
  "luminance": 0.05677
}

Semantic roles & 50–950 ramp

primary
#7D1758
secondary
#3EB268
accent
#EC7C3C
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7D1758

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

Preview Lab → · Contrast checker → · Palette generator →

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