#7D1E54#7D1E54

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

Color values

HEX#7D1E54
RGBrgb(125, 30, 84)
HSLhsl(326, 61%, 30%)
HSVhsv(326, 76%, 49%)
CMYKcmyk(0%, 76%, 32.8%, 51%)
CIE-LABlab(29.23, 45.11, -9.05)
CIE-LCHlch(29.23, 46.01, 348.65°)
OKLaboklab(40.84% 0.1378 -0.0236)
OKLCHoklch(40.84% 0.14 350.3)
XYZxyz(10.5225, 5.9298, 8.9762)
Luminance0.0593 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E54 #1E7D47
analogous
#761E7D #7D1E54 #7D1E24
triadic
#7D1E54 #547D1E #1E547D
tetradic
#7D1E54 #7D761E #1E7D47 #1E247D
square
#7D1E54 #7D761E #1E7D47 #1E247D
split-complementary
#7D1E54 #247D1E #1E7D76
monochromatic
#1A0612 #4C1233 #7D1E54 #AE2A75 #D24394

Accessibility & contrast

On white

9.61
#7D1E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7D1E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1E54
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E54#FFFFFF#000000##FFFFFF
##7D1E541.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3A55
Deuteranopia (green-blind)
#494B52
Tritanopia (blue-blind)
#871836
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1e54;
/* rgb */ color: rgb(125, 30, 84);
/* oklch */ color: oklch(40.8% 0.140 350.3);
Tailwind
colors: {
  custom: {
    50: '#a66384',
    500: '#7d1e54',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e54;
$custom-light: #a66384;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e54",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 84
  },
  "hsl": {
    "h": 325.895,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40844,
    "c": 0.13984,
    "h": 350.3
  },
  "luminance": 0.05929
}

Semantic roles & 50–950 ramp

primary
#7D1E54
secondary
#46B074
accent
#E48943
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D1E54

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

Preview Lab → · Contrast checker → · Palette generator →

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