#7D1D4C#7D1D4C

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

Color values

HEX#7D1D4C
RGBrgb(125, 29, 76)
HSLhsl(331, 62%, 30%)
HSVhsv(331, 77%, 49%)
CMYKcmyk(0%, 76.8%, 39.2%, 51%)
CIE-LABlab(28.80, 44.50, -4.41)
CIE-LCHlch(28.80, 44.72, 354.34°)
OKLaboklab(40.43% 0.1366 -0.0111)
OKLCHoklch(40.43% 0.137 355.4)
XYZxyz(10.2020, 5.7618, 7.4110)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D4C #1D7D4E
analogous
#7D1D7C #7D1D4C #7D1E1D
triadic
#7D1D4C #4C7D1D #1D4C7D
tetradic
#7D1D4C #7C7D1D #1D7D4E #1E1D7D
square
#7D1D4C #7C7D1D #1D7D4E #1E1D7D
split-complementary
#7D1D4C #1D7D1E #1D7C7D
monochromatic
#1A0610 #4B112E #7D1D4C #AF296A #D34189

Accessibility & contrast

On white

9.76
#7D1D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1D4C
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D4C#FFFFFF#000000##FFFFFF
##7D1D4C1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30394D
Deuteranopia (green-blind)
#4B4A4A
Tritanopia (blue-blind)
#871232
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1d4c;
/* rgb */ color: rgb(125, 29, 76);
/* oklch */ color: oklch(40.4% 0.137 355.4);
Tailwind
colors: {
  custom: {
    50: '#a7637e',
    500: '#7d1d4c',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d4c;
$custom-light: #a7637e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d4c",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 76
  },
  "hsl": {
    "h": 330.625,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40429,
    "c": 0.13705,
    "h": 355.4
  },
  "luminance": 0.05761
}

Semantic roles & 50–950 ramp

primary
#7D1D4C
secondary
#45B17C
accent
#E59642
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D1D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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