#7D2253#7D2253

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

Color values

HEX#7D2253
RGBrgb(125, 34, 83)
HSLhsl(328, 57%, 31%)
HSVhsv(328, 73%, 49%)
CMYKcmyk(0%, 72.8%, 33.6%, 51%)
CIE-LABlab(29.74, 43.46, -7.64)
CIE-LCHlch(29.74, 44.13, 350.03°)
OKLaboklab(41.2% 0.1328 -0.0198)
OKLCHoklch(41.2% 0.134 351.5)
XYZxyz(10.5914, 6.1298, 8.8073)
Luminance0.0613 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2253 #227D4C
analogous
#79227D #7D2253 #7D2225
triadic
#7D2253 #537D22 #22537D
tetradic
#7D2253 #7D7922 #227D4C #22257D
square
#7D2253 #7D7922 #227D4C #22257D
split-complementary
#7D2253 #257D22 #227D79
monochromatic
#1D0813 #4D1533 #7D2253 #AD2F73 #CE4B92

Accessibility & contrast

On white

9.43
#7D2253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7D2253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2253
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2253#FFFFFF#000000##FFFFFF
##7D22531.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313C54
Deuteranopia (green-blind)
#4A4C51
Tritanopia (blue-blind)
#871C37
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d2253;
/* rgb */ color: rgb(125, 34, 83);
/* oklch */ color: oklch(41.2% 0.134 351.5);
Tailwind
colors: {
  custom: {
    50: '#a66583',
    500: '#7d2253',
    950: '#000000',
  },
}
SCSS
$custom: #7d2253;
$custom-light: #a66583;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2253",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 83
  },
  "hsl": {
    "h": 327.692,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.412,
    "c": 0.13426,
    "h": 351.5
  },
  "luminance": 0.06129
}

Semantic roles & 50–950 ramp

primary
#7D2253
secondary
#4BB07A
accent
#E08E47
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D2253

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

Preview Lab → · Contrast checker → · Palette generator →

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