#7D1D56#7D1D56

#7D1D56 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.142 H 348.9°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#7D1D56
RGBrgb(125, 29, 86)
HSLhsl(324, 62%, 30%)
HSVhsv(324, 77%, 49%)
CMYKcmyk(0%, 76.8%, 31.2%, 51%)
CIE-LABlab(29.19, 45.72, -10.44)
CIE-LCHlch(29.19, 46.90, 347.14°)
OKLaboklab(40.84% 0.1395 -0.0274)
OKLCHoklch(40.84% 0.142 348.9)
XYZxyz(10.5771, 5.9118, 9.3864)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D56 #1D7D44
analogous
#741D7D #7D1D56 #7D1D26
triadic
#7D1D56 #567D1D #1D567D
tetradic
#7D1D56 #7D741D #1D7D44 #1D267D
square
#7D1D56 #7D741D #1D7D44 #1D267D
split-complementary
#7D1D56 #267D1D #1D7D74
monochromatic
#1A0612 #4B1134 #7D1D56 #AF2978 #D34198

Accessibility & contrast

On white

9.62
#7D1D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7D1D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1D56
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D56#FFFFFF#000000##FFFFFF
##7D1D561.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3A58
Deuteranopia (green-blind)
#484B54
Tritanopia (blue-blind)
#861837
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1d56;
/* rgb */ color: rgb(125, 29, 86);
/* oklch */ color: oklch(40.8% 0.142 348.9);
Tailwind
colors: {
  custom: {
    50: '#a66385',
    500: '#7d1d56',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d56;
$custom-light: #a66385;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d56",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 86
  },
  "hsl": {
    "h": 324.375,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40837,
    "c": 0.14215,
    "h": 348.9
  },
  "luminance": 0.05911
}

Semantic roles & 50–950 ramp

primary
#7D1D56
secondary
#45B171
accent
#E58542
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D1D56

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

Preview Lab → · Contrast checker → · Palette generator →

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