#7D1A51#7D1A51

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

Color values

HEX#7D1A51
RGBrgb(125, 26, 81)
HSLhsl(327, 66%, 30%)
HSVhsv(327, 79%, 49%)
CMYKcmyk(0%, 79.2%, 35.2%, 51%)
CIE-LABlab(28.63, 46.12, -7.99)
CIE-LCHlch(28.63, 46.81, 350.17°)
OKLaboklab(40.36% 0.1414 -0.0207)
OKLCHoklch(40.36% 0.143 351.7)
XYZxyz(10.3127, 5.6941, 8.3390)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A51 #1A7D46
analogous
#781A7D #7D1A51 #7D1A1F
triadic
#7D1A51 #517D1A #1A517D
tetradic
#7D1A51 #7D781A #1A7D46 #1A1F7D
square
#7D1A51 #7D781A #1A7D46 #1A1F7D
split-complementary
#7D1A51 #1F7D1A #1A7D78
monochromatic
#190510 #4A0F30 #7D1A51 #B02572 #D63B91

Accessibility & contrast

On white

9.82
#7D1A51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7D1A51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1A51
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A51#FFFFFF#000000##FFFFFF
##7D1A511.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3852
Deuteranopia (green-blind)
#484A4F
Tritanopia (blue-blind)
#871133
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1a51;
/* rgb */ color: rgb(125, 26, 81);
/* oklch */ color: oklch(40.4% 0.143 351.7);
Tailwind
colors: {
  custom: {
    50: '#a76281',
    500: '#7d1a51',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a51;
$custom-light: #a76281;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a51",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 81
  },
  "hsl": {
    "h": 326.667,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40362,
    "c": 0.14286,
    "h": 351.7
  },
  "luminance": 0.05693
}

Semantic roles & 50–950 ramp

primary
#7D1A51
secondary
#42B173
accent
#E98A3F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D1A51

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

Preview Lab → · Contrast checker → · Palette generator →

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