#9B236A#9B236A

#9B236A is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.169 H 349.4°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#9B236A
RGBrgb(155, 35, 106)
HSLhsl(325, 63%, 37%)
HSVhsv(325, 77%, 61%)
CMYKcmyk(0%, 77.4%, 31.6%, 39.2%)
CIE-LABlab(36.39, 54.34, -11.87)
CIE-LCHlch(36.39, 55.62, 347.67°)
OKLaboklab(47.4% 0.1661 -0.0311)
OKLCHoklch(47.4% 0.169 349.4)
XYZxyz(16.7210, 9.2132, 14.5306)
Luminance0.0921 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B236A #239B54
analogous
#90239B #9B236A #9B232E
triadic
#9B236A #6A9B23 #236A9B
tetradic
#9B236A #9B9023 #239B54 #232E9B
square
#9B236A #9B9023 #239B54 #232E9B
split-complementary
#9B236A #2E9B23 #239B90
monochromatic
#370C26 #691848 #9B236A #CD2E8C #DB5EA8

Accessibility & contrast

On white

7.39
#9B236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9B236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B236A
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B236A#FFFFFF#000000##FFFFFF
##9B236A1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37486C
Deuteranopia (green-blind)
#5A5D67
Tritanopia (blue-blind)
#A71B44
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b236a;
/* rgb */ color: rgb(155, 35, 106);
/* oklch */ color: oklch(47.4% 0.169 349.4);
Tailwind
colors: {
  custom: {
    50: '#bd6b94',
    500: '#9b236a',
    950: '#000000',
  },
}
SCSS
$custom: #9b236a;
$custom-light: #bd6b94;
$custom-dark: #000000;
JSON
{
  "hex": "#9b236a",
  "rgb": {
    "r": 155,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 324.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47403,
    "c": 0.16896,
    "h": 349.4
  },
  "luminance": 0.09211
}

Semantic roles & 50–950 ramp

primary
#9B236A
secondary
#5ABF84
accent
#E68542
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9B236A

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

Preview Lab → · Contrast checker → · Palette generator →

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