#7D1D54#7D1D54

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

Color values

HEX#7D1D54
RGBrgb(125, 29, 84)
HSLhsl(326, 62%, 30%)
HSVhsv(326, 77%, 49%)
CMYKcmyk(0%, 76.8%, 32.8%, 51%)
CIE-LABlab(29.11, 45.47, -9.25)
CIE-LCHlch(29.11, 46.40, 348.51°)
OKLaboklab(40.75% 0.139 -0.0241)
OKLCHoklch(40.75% 0.141 350.2)
XYZxyz(10.4976, 5.8800, 8.9679)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D54 #1D7D46
analogous
#761D7D #7D1D54 #7D1D24
triadic
#7D1D54 #547D1D #1D547D
tetradic
#7D1D54 #7D761D #1D7D46 #1D247D
square
#7D1D54 #7D761D #1D7D46 #1D247D
split-complementary
#7D1D54 #247D1D #1D7D76
monochromatic
#1A0611 #4B1133 #7D1D54 #AF2975 #D34195

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D1D54#FFFFFF#000000##FFFFFF
##7D1D541.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)
#2D3A55
Deuteranopia (green-blind)
#484B52
Tritanopia (blue-blind)
#871736
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1d54;
/* rgb */ color: rgb(125, 29, 84);
/* oklch */ color: oklch(40.8% 0.141 350.2);
Tailwind
colors: {
  custom: {
    50: '#a76384',
    500: '#7d1d54',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d54;
$custom-light: #a76384;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d54",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 84
  },
  "hsl": {
    "h": 325.625,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40751,
    "c": 0.14104,
    "h": 350.2
  },
  "luminance": 0.05879
}

Semantic roles & 50–950 ramp

primary
#7D1D54
secondary
#45B173
accent
#E58842
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D1D54

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

Preview Lab → · Contrast checker → · Palette generator →

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