#9B245A#9B245A

#9B245A is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.161 H 358.0°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#9B245A
RGBrgb(155, 36, 90)
HSLhsl(333, 62%, 37%)
HSVhsv(333, 77%, 61%)
CMYKcmyk(0%, 76.8%, 41.9%, 39.2%)
CIE-LABlab(35.93, 52.22, -2.36)
CIE-LCHlch(35.93, 52.28, 357.41°)
OKLaboklab(46.88% 0.1604 -0.0055)
OKLCHoklch(46.88% 0.161 358)
XYZxyz(15.9951, 8.9705, 10.5601)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B245A #249B65
analogous
#9B2496 #9B245A #9B2924
triadic
#9B245A #5A9B24 #245A9B
tetradic
#9B245A #969B24 #249B65 #29249B
square
#9B245A #969B24 #249B65 #29249B
split-complementary
#9B245A #249B29 #24969B
monochromatic
#380D20 #69183D #9B245A #CD3077 #DA5F97

Accessibility & contrast

On white

7.52
#9B245A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#9B245A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B245A
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B245A#FFFFFF#000000##FFFFFF
##9B245A1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E465B
Deuteranopia (green-blind)
#5E5D57
Tritanopia (blue-blind)
#A8113C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9b245a;
/* rgb */ color: rgb(155, 36, 90);
/* oklch */ color: oklch(46.9% 0.161 358.0);
Tailwind
colors: {
  custom: {
    50: '#bd6b88',
    500: '#9b245a',
    950: '#000000',
  },
}
SCSS
$custom: #9b245a;
$custom-light: #bd6b88;
$custom-dark: #000000;
JSON
{
  "hex": "#9b245a",
  "rgb": {
    "r": 155,
    "g": 36,
    "b": 90
  },
  "hsl": {
    "h": 332.773,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46875,
    "c": 0.16054,
    "h": 358
  },
  "luminance": 0.08969
}

Semantic roles & 50–950 ramp

primary
#9B245A
secondary
#5CBF92
accent
#E59B42
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9B245A

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

Preview Lab → · Contrast checker → · Palette generator →

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