#7D2952#7D2952

#7D2952 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.0% C 0.124 H 353.6°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#7D2952
RGBrgb(125, 41, 82)
HSLhsl(331, 51%, 33%)
HSVhsv(331, 67%, 49%)
CMYKcmyk(0%, 67.2%, 34.4%, 51%)
CIE-LABlab(30.77, 40.37, -5.43)
CIE-LCHlch(30.77, 40.73, 352.34°)
OKLaboklab(41.95% 0.1232 -0.0138)
OKLCHoklch(41.95% 0.124 353.6)
XYZxyz(10.7740, 6.5562, 8.6791)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2952 #297D54
analogous
#7D297C #7D2952 #7D2A29
triadic
#7D2952 #527D29 #29527D
tetradic
#7D2952 #7C7D29 #297D54 #2A297D
square
#7D2952 #7C7D29 #297D54 #2A297D
split-complementary
#7D2952 #297D2A #297C7D
monochromatic
#210B16 #4F1A34 #7D2952 #AB3870 #C8588F

Accessibility & contrast

On white

9.09
#7D2952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7D2952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2952
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2952#FFFFFF#000000##FFFFFF
##7D29521.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363F53
Deuteranopia (green-blind)
#4D4E50
Tritanopia (blue-blind)
#87233A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d2952;
/* rgb */ color: rgb(125, 41, 82);
/* oklch */ color: oklch(42.0% 0.124 353.6);
Tailwind
colors: {
  custom: {
    50: '#a66982',
    500: '#7d2952',
    950: '#000000',
  },
}
SCSS
$custom: #7d2952;
$custom-light: #a66982;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2952",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 82
  },
  "hsl": {
    "h": 330.714,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41951,
    "c": 0.12398,
    "h": 353.6
  },
  "luminance": 0.06555
}

Semantic roles & 50–950 ramp

primary
#7D2952
secondary
#54AE82
accent
#DA964E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7D2952

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

Preview Lab → · Contrast checker → · Palette generator →

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