#9B245C#9B245C

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

Color values

HEX#9B245C
RGBrgb(155, 36, 92)
HSLhsl(332, 62%, 37%)
HSVhsv(332, 77%, 61%)
CMYKcmyk(0%, 76.8%, 40.6%, 39.2%)
CIE-LABlab(35.99, 52.43, -3.54)
CIE-LCHlch(35.99, 52.55, 356.13°)
OKLaboklab(46.95% 0.1611 -0.0087)
OKLCHoklch(46.95% 0.161 356.9)
XYZxyz(16.0813, 9.0051, 11.0145)
Luminance0.0900 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B245C #249B63
analogous
#9B2497 #9B245C #9B2824
triadic
#9B245C #5C9B24 #245C9B
tetradic
#9B245C #979B24 #249B63 #28249B
square
#9B245C #979B24 #249B63 #28249B
split-complementary
#9B245C #249B28 #24979B
monochromatic
#380D21 #69183F #9B245C #CD3079 #DA5F99

Accessibility & contrast

On white

7.50
#9B245C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B245C
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B245C#FFFFFF#000000##FFFFFF
##9B245C1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D465D
Deuteranopia (green-blind)
#5E5D59
Tritanopia (blue-blind)
#A8133D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9b245c;
/* rgb */ color: rgb(155, 36, 92);
/* oklch */ color: oklch(46.9% 0.161 356.9);
Tailwind
colors: {
  custom: {
    50: '#bd6b8a',
    500: '#9b245c',
    950: '#000000',
  },
}
SCSS
$custom: #9b245c;
$custom-light: #bd6b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b245c",
  "rgb": {
    "r": 155,
    "g": 36,
    "b": 92
  },
  "hsl": {
    "h": 331.765,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46945,
    "c": 0.16132,
    "h": 356.9
  },
  "luminance": 0.09003
}

Semantic roles & 50–950 ramp

primary
#9B245C
secondary
#5CBF90
accent
#E59942
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9B245C

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

Preview Lab → · Contrast checker → · Palette generator →

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