#7D1D4D#7D1D4D

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

Color values

HEX#7D1D4D
RGBrgb(125, 29, 77)
HSLhsl(330, 62%, 30%)
HSVhsv(330, 77%, 49%)
CMYKcmyk(0%, 76.8%, 38.4%, 51%)
CIE-LABlab(28.84, 44.62, -5.02)
CIE-LCHlch(28.84, 44.90, 353.58°)
OKLaboklab(40.47% 0.1369 -0.0127)
OKLCHoklch(40.47% 0.138 354.7)
XYZxyz(10.2370, 5.7758, 7.5955)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D4D #1D7D4D
analogous
#7D1D7D #7D1D4D #7D1D1D
triadic
#7D1D4D #4D7D1D #1D4D7D
tetradic
#7D1D4D #7D7D1D #1D7D4D #1D1D7D
square
#7D1D4D #7D7D1D #1D7D4D #1D1D7D
split-complementary
#7D1D4D #1D7D1D #1D7D7D
monochromatic
#1A0610 #4B112E #7D1D4D #AF296C #D3418A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D1D4D#FFFFFF#000000##FFFFFF
##7D1D4D1.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)
#2F394E
Deuteranopia (green-blind)
#4A4A4B
Tritanopia (blue-blind)
#871332
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1d4d;
/* rgb */ color: rgb(125, 29, 77);
/* oklch */ color: oklch(40.5% 0.138 354.7);
Tailwind
colors: {
  custom: {
    50: '#a7637e',
    500: '#7d1d4d',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d4d;
$custom-light: #a7637e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d4d",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 77
  },
  "hsl": {
    "h": 330,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40467,
    "c": 0.13751,
    "h": 354.7
  },
  "luminance": 0.05775
}

Semantic roles & 50–950 ramp

primary
#7D1D4D
secondary
#45B17B
accent
#E59442
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D1D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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