#7D1E4A#7D1E4A

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

Color values

HEX#7D1E4A
RGBrgb(125, 30, 74)
HSLhsl(332, 61%, 30%)
HSVhsv(332, 76%, 49%)
CMYKcmyk(0%, 76%, 40.8%, 51%)
CIE-LABlab(28.86, 43.91, -3.00)
CIE-LCHlch(28.86, 44.02, 356.10°)
OKLaboklab(40.45% 0.1348 -0.0073)
OKLCHoklch(40.45% 0.135 356.9)
XYZxyz(10.1584, 5.7842, 7.0588)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E4A #1E7D51
analogous
#7D1E79 #7D1E4A #7D221E
triadic
#7D1E4A #4A7D1E #1E4A7D
tetradic
#7D1E4A #797D1E #1E7D51 #221E7D
square
#7D1E4A #797D1E #1E7D51 #221E7D
split-complementary
#7D1E4A #1E7D22 #1E797D
monochromatic
#1A0610 #4C122D #7D1E4A #AE2A67 #D24385

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D1E4A#FFFFFF#000000##FFFFFF
##7D1E4A1.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)
#31394B
Deuteranopia (green-blind)
#4B4B48
Tritanopia (blue-blind)
#881231
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1e4a;
/* rgb */ color: rgb(125, 30, 74);
/* oklch */ color: oklch(40.4% 0.135 356.9);
Tailwind
colors: {
  custom: {
    50: '#a7637c',
    500: '#7d1e4a',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e4a;
$custom-light: #a7637c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e4a",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 74
  },
  "hsl": {
    "h": 332.211,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40448,
    "c": 0.135,
    "h": 356.9
  },
  "luminance": 0.05783
}

Semantic roles & 50–950 ramp

primary
#7D1E4A
secondary
#46B07F
accent
#E49A43
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D1E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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