#7D1D4E#7D1D4E

#7D1D4E is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.138 H 354.0°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#7D1D4E
RGBrgb(125, 29, 78)
HSLhsl(329, 62%, 30%)
HSVhsv(329, 77%, 49%)
CMYKcmyk(0%, 76.8%, 37.6%, 51%)
CIE-LABlab(28.88, 44.74, -5.63)
CIE-LCHlch(28.88, 45.09, 352.83°)
OKLaboklab(40.51% 0.1372 -0.0143)
OKLCHoklch(40.51% 0.138 354)
XYZxyz(10.2726, 5.7900, 7.7829)
Luminance0.0579 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D4E #1D7D4C
analogous
#7C1D7D #7D1D4E #7D1D1E
triadic
#7D1D4E #4E7D1D #1D4E7D
tetradic
#7D1D4E #7D7C1D #1D7D4C #1D1E7D
square
#7D1D4E #7D7C1D #1D7D4C #1D1E7D
split-complementary
#7D1D4E #1E7D1D #1D7D7C
monochromatic
#1A0610 #4B112F #7D1D4E #AF296D #D3418C

Accessibility & contrast

On white

9.73
#7D1D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1D4E
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D4E#FFFFFF#000000##FFFFFF
##7D1D4E1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F394F
Deuteranopia (green-blind)
#4A4A4C
Tritanopia (blue-blind)
#871333
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1d4e;
/* rgb */ color: rgb(125, 29, 78);
/* oklch */ color: oklch(40.5% 0.138 354.0);
Tailwind
colors: {
  custom: {
    50: '#a7637f',
    500: '#7d1d4e',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d4e;
$custom-light: #a7637f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d4e",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 78
  },
  "hsl": {
    "h": 329.375,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40506,
    "c": 0.13798,
    "h": 354
  },
  "luminance": 0.05789
}

Semantic roles & 50–950 ramp

primary
#7D1D4E
secondary
#45B17A
accent
#E59242
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D1D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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