#7D2252#7D2252

#7D2252 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.134 H 352.2°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#7D2252
RGBrgb(125, 34, 82)
HSLhsl(328, 57%, 31%)
HSVhsv(328, 73%, 49%)
CMYKcmyk(0%, 72.8%, 34.4%, 51%)
CIE-LABlab(29.70, 43.34, -7.04)
CIE-LCHlch(29.70, 43.90, 350.78°)
OKLaboklab(41.16% 0.1325 -0.0181)
OKLCHoklch(41.16% 0.134 352.2)
XYZxyz(10.5531, 6.1144, 8.6055)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2252 #227D4D
analogous
#7A227D #7D2252 #7D2224
triadic
#7D2252 #527D22 #22527D
tetradic
#7D2252 #7D7A22 #227D4D #22247D
square
#7D2252 #7D7A22 #227D4D #22247D
split-complementary
#7D2252 #247D22 #227D7A
monochromatic
#1D0813 #4D1532 #7D2252 #AD2F72 #CE4B90

Accessibility & contrast

On white

9.45
#7D2252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7D2252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2252
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2252#FFFFFF#000000##FFFFFF
##7D22521.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313B53
Deuteranopia (green-blind)
#4B4C50
Tritanopia (blue-blind)
#871B37
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d2252;
/* rgb */ color: rgb(125, 34, 82);
/* oklch */ color: oklch(41.2% 0.134 352.2);
Tailwind
colors: {
  custom: {
    50: '#a66582',
    500: '#7d2252',
    950: '#000000',
  },
}
SCSS
$custom: #7d2252;
$custom-light: #a66582;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2252",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 82
  },
  "hsl": {
    "h": 328.352,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41159,
    "c": 0.13374,
    "h": 352.2
  },
  "luminance": 0.06113
}

Semantic roles & 50–950 ramp

primary
#7D2252
secondary
#4BB07B
accent
#E09047
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D2252

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

Preview Lab → · Contrast checker → · Palette generator →

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