#9A2452#9A2452

#9A2452 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.157 H 2.2°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#9A2452
RGBrgb(154, 36, 82)
HSLhsl(337, 62%, 37%)
HSVhsv(337, 77%, 60%)
CMYKcmyk(0%, 76.6%, 46.8%, 39.6%)
CIE-LABlab(35.48, 51.15, 2.12)
CIE-LCHlch(35.48, 51.19, 2.38°)
OKLaboklab(46.43% 0.1568 0.006)
OKLCHoklch(46.43% 0.157 2.2)
XYZxyz(15.4815, 8.7430, 8.8533)
Luminance0.0874 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2452 #249A6C
analogous
#9A248D #9A2452 #9A3124
triadic
#9A2452 #529A24 #24529A
tetradic
#9A2452 #8D9A24 #249A6C #31249A
square
#9A2452 #8D9A24 #249A6C #31249A
split-complementary
#9A2452 #249A31 #248D9A
monochromatic
#370D1D #681838 #9A2452 #CC306C #DA5F8F

Accessibility & contrast

On white

7.64
#9A2452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9A2452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2452
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2452#FFFFFF#000000##FFFFFF
##9A24521.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404553
Deuteranopia (green-blind)
#5F5C4F
Tritanopia (blue-blind)
#A80C38
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9a2452;
/* rgb */ color: rgb(154, 36, 82);
/* oklch */ color: oklch(46.4% 0.157 2.2);
Tailwind
colors: {
  custom: {
    50: '#bd6a82',
    500: '#9a2452',
    950: '#000000',
  },
}
SCSS
$custom: #9a2452;
$custom-light: #bd6a82;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2452",
  "rgb": {
    "r": 154,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 336.61,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46432,
    "c": 0.15694,
    "h": 2.2
  },
  "luminance": 0.08741
}

Semantic roles & 50–950 ramp

primary
#9A2452
secondary
#5BBF98
accent
#E5A643
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9A2452

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

Preview Lab → · Contrast checker → · Palette generator →

#9A2452 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva