#7D1952#7D1952

#7D1952 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.144 H 350.9°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#7D1952
RGBrgb(125, 25, 82)
HSLhsl(326, 67%, 29%)
HSVhsv(326, 80%, 49%)
CMYKcmyk(0%, 80%, 34.4%, 51%)
CIE-LABlab(28.55, 46.56, -8.76)
CIE-LCHlch(28.55, 47.38, 349.34°)
OKLaboklab(40.32% 0.1427 -0.0228)
OKLCHoklch(40.32% 0.144 350.9)
XYZxyz(10.3287, 5.6657, 8.5307)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1952 #197D44
analogous
#76197D #7D1952 #7D1920
triadic
#7D1952 #527D19 #19527D
tetradic
#7D1952 #7D7619 #197D44 #19207D
square
#7D1952 #7D7619 #197D44 #19207D
split-complementary
#7D1952 #207D19 #197D76
monochromatic
#1A0511 #4A0F31 #7D1952 #B02373 #D73993

Accessibility & contrast

On white

9.85
#7D1952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7D1952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1952
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1952#FFFFFF#000000##FFFFFF
##7D19521.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1952;
/* rgb */ color: rgb(125, 25, 82);
/* oklch */ color: oklch(40.3% 0.144 350.9);
Tailwind
colors: {
  custom: {
    50: '#a76182',
    500: '#7d1952',
    950: '#000000',
  },
}
SCSS
$custom: #7d1952;
$custom-light: #a76182;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1952",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 82
  },
  "hsl": {
    "h": 325.8,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4032,
    "c": 0.14447,
    "h": 350.9
  },
  "luminance": 0.05664
}

Semantic roles & 50–950 ramp

primary
#7D1952
secondary
#40B171
accent
#EA883E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7D1952

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

Preview Lab → · Contrast checker → · Palette generator →

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