#7D1A56#7D1A56

#7D1A56 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.146 H 348.6°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#7D1A56
RGBrgb(125, 26, 86)
HSLhsl(324, 66%, 30%)
HSVhsv(324, 79%, 49%)
CMYKcmyk(0%, 79.2%, 31.2%, 51%)
CIE-LABlab(28.83, 46.74, -10.99)
CIE-LCHlch(28.83, 48.01, 346.77°)
OKLaboklab(40.58% 0.1427 -0.0288)
OKLCHoklch(40.58% 0.146 348.6)
XYZxyz(10.5071, 5.7719, 9.3631)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A56 #1A7D41
analogous
#731A7D #7D1A56 #7D1A25
triadic
#7D1A56 #567D1A #1A567D
tetradic
#7D1A56 #7D731A #1A7D41 #1A257D
square
#7D1A56 #7D731A #1A7D41 #1A257D
split-complementary
#7D1A56 #257D1A #1A7D73
monochromatic
#190511 #4A0F33 #7D1A56 #B02579 #D63B99

Accessibility & contrast

On white

9.75
#7D1A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1A56
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A56#FFFFFF#000000##FFFFFF
##7D1A561.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3958
Deuteranopia (green-blind)
#474A54
Tritanopia (blue-blind)
#861536
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1a56;
/* rgb */ color: rgb(125, 26, 86);
/* oklch */ color: oklch(40.6% 0.146 348.6);
Tailwind
colors: {
  custom: {
    50: '#a76285',
    500: '#7d1a56',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a56;
$custom-light: #a76285;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a56",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 86
  },
  "hsl": {
    "h": 323.636,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40575,
    "c": 0.14557,
    "h": 348.6
  },
  "luminance": 0.05771
}

Semantic roles & 50–950 ramp

primary
#7D1A56
secondary
#42B16E
accent
#E9823F
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D1A56

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

Preview Lab → · Contrast checker → · Palette generator →

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