#9B245B#9B245B

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

Color values

HEX#9B245B
RGBrgb(155, 36, 91)
HSLhsl(332, 62%, 37%)
HSVhsv(332, 77%, 61%)
CMYKcmyk(0%, 76.8%, 41.3%, 39.2%)
CIE-LABlab(35.96, 52.33, -2.95)
CIE-LCHlch(35.96, 52.41, 356.77°)
OKLaboklab(46.91% 0.1608 -0.0071)
OKLCHoklch(46.91% 0.161 357.5)
XYZxyz(16.0379, 8.9877, 10.7857)
Luminance0.0899 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B245B #249B64
analogous
#9B2497 #9B245B #9B2824
triadic
#9B245B #5B9B24 #245B9B
tetradic
#9B245B #979B24 #249B64 #28249B
square
#9B245B #979B24 #249B64 #28249B
split-complementary
#9B245B #249B28 #24979B
monochromatic
#380D21 #69183E #9B245B #CD3078 #DA5F98

Accessibility & contrast

On white

7.51
#9B245B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#9B245B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B245B
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B245B#FFFFFF#000000##FFFFFF
##9B245B1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D465C
Deuteranopia (green-blind)
#5E5D58
Tritanopia (blue-blind)
#A8123C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9b245b;
/* rgb */ color: rgb(155, 36, 91);
/* oklch */ color: oklch(46.9% 0.161 357.5);
Tailwind
colors: {
  custom: {
    50: '#bd6b89',
    500: '#9b245b',
    950: '#000000',
  },
}
SCSS
$custom: #9b245b;
$custom-light: #bd6b89;
$custom-dark: #000000;
JSON
{
  "hex": "#9b245b",
  "rgb": {
    "r": 155,
    "g": 36,
    "b": 91
  },
  "hsl": {
    "h": 332.269,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4691,
    "c": 0.16093,
    "h": 357.5
  },
  "luminance": 0.08986
}

Semantic roles & 50–950 ramp

primary
#9B245B
secondary
#5CBF91
accent
#E59A42
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9B245B

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

Preview Lab → · Contrast checker → · Palette generator →

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