#9B2452#9B2452

#9B2452 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.158 H 2.5°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#9B2452
RGBrgb(155, 36, 82)
HSLhsl(337, 62%, 37%)
HSVhsv(337, 77%, 61%)
CMYKcmyk(0%, 76.8%, 47.1%, 39.2%)
CIE-LABlab(35.68, 51.43, 2.42)
CIE-LCHlch(35.68, 51.49, 2.70°)
OKLaboklab(46.61% 0.1577 0.0068)
OKLCHoklch(46.61% 0.158 2.5)
XYZxyz(15.6727, 8.8416, 8.8623)
Luminance0.0884 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2452 #249B6D
analogous
#9B248D #9B2452 #9B3224
triadic
#9B2452 #529B24 #24529B
tetradic
#9B2452 #8D9B24 #249B6D #32249B
square
#9B2452 #8D9B24 #249B6D #32249B
split-complementary
#9B2452 #249B32 #248D9B
monochromatic
#380D1D #691838 #9B2452 #CD306C #DA5F8F

Accessibility & contrast

On white

7.59
#9B2452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9B2452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2452
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2452#FFFFFF#000000##FFFFFF
##9B24521.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404553
Deuteranopia (green-blind)
#605C4F
Tritanopia (blue-blind)
#A90A38
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9b2452;
/* rgb */ color: rgb(155, 36, 82);
/* oklch */ color: oklch(46.6% 0.158 2.5);
Tailwind
colors: {
  custom: {
    50: '#be6a82',
    500: '#9b2452',
    950: '#000000',
  },
}
SCSS
$custom: #9b2452;
$custom-light: #be6a82;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2452",
  "rgb": {
    "r": 155,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 336.807,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46609,
    "c": 0.15783,
    "h": 2.5
  },
  "luminance": 0.0884
}

Semantic roles & 50–950 ramp

primary
#9B2452
secondary
#5CBF99
accent
#E5A642
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9B2452

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

Preview Lab → · Contrast checker → · Palette generator →

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