#7D1D4B#7D1D4B

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

Color values

HEX#7D1D4B
RGBrgb(125, 29, 75)
HSLhsl(331, 62%, 30%)
HSVhsv(331, 77%, 49%)
CMYKcmyk(0%, 76.8%, 40%, 51%)
CIE-LABlab(28.77, 44.39, -3.80)
CIE-LCHlch(28.77, 44.55, 355.11°)
OKLaboklab(40.39% 0.1363 -0.0094)
OKLCHoklch(40.39% 0.137 356)
XYZxyz(10.1675, 5.7480, 7.2293)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D4B #1D7D4F
analogous
#7D1D7B #7D1D4B #7D1F1D
triadic
#7D1D4B #4B7D1D #1D4B7D
tetradic
#7D1D4B #7B7D1D #1D7D4F #1F1D7D
square
#7D1D4B #7B7D1D #1D7D4F #1F1D7D
split-complementary
#7D1D4B #1D7D1F #1D7B7D
monochromatic
#1A060F #4B112D #7D1D4B #AF2969 #D34187

Accessibility & contrast

On white

9.77
#7D1D4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7D1D4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1D4B
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D4B#FFFFFF#000000##FFFFFF
##7D1D4B1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30384C
Deuteranopia (green-blind)
#4B4A49
Tritanopia (blue-blind)
#871131
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1d4b;
/* rgb */ color: rgb(125, 29, 75);
/* oklch */ color: oklch(40.4% 0.137 356.0);
Tailwind
colors: {
  custom: {
    50: '#a7637d',
    500: '#7d1d4b',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d4b;
$custom-light: #a7637d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d4b",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 75
  },
  "hsl": {
    "h": 331.25,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40391,
    "c": 0.13661,
    "h": 356
  },
  "luminance": 0.05747
}

Semantic roles & 50–950 ramp

primary
#7D1D4B
secondary
#45B17D
accent
#E59742
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D1D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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