#7D1E51#7D1E51

#7D1E51 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.138 H 352.2°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#7D1E51
RGBrgb(125, 30, 81)
HSLhsl(328, 61%, 30%)
HSVhsv(328, 76%, 49%)
CMYKcmyk(0%, 76%, 35.2%, 51%)
CIE-LABlab(29.12, 44.73, -7.25)
CIE-LCHlch(29.12, 45.32, 350.79°)
OKLaboklab(40.72% 0.137 -0.0187)
OKLCHoklch(40.72% 0.138 352.2)
XYZxyz(10.4075, 5.8838, 8.3706)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E51 #1E7D4A
analogous
#791E7D #7D1E51 #7D1E22
triadic
#7D1E51 #517D1E #1E517D
tetradic
#7D1E51 #7D791E #1E7D4A #1E227D
square
#7D1E51 #7D791E #1E7D4A #1E227D
split-complementary
#7D1E51 #227D1E #1E7D79
monochromatic
#1A0611 #4C1231 #7D1E51 #AE2A71 #D24390

Accessibility & contrast

On white

9.65
#7D1E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7D1E51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1E51
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E51#FFFFFF#000000##FFFFFF
##7D1E511.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3A52
Deuteranopia (green-blind)
#4A4B4F
Tritanopia (blue-blind)
#871634
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1e51;
/* rgb */ color: rgb(125, 30, 81);
/* oklch */ color: oklch(40.7% 0.138 352.2);
Tailwind
colors: {
  custom: {
    50: '#a76381',
    500: '#7d1e51',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e51;
$custom-light: #a76381;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e51",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 81
  },
  "hsl": {
    "h": 327.789,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4072,
    "c": 0.13827,
    "h": 352.2
  },
  "luminance": 0.05883
}

Semantic roles & 50–950 ramp

primary
#7D1E51
secondary
#46B077
accent
#E48E43
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D1E51

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

Preview Lab → · Contrast checker → · Palette generator →

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