#9B236D#9B236D

#9B236D is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.5% C 0.171 H 347.9°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#9B236D
RGBrgb(155, 35, 109)
HSLhsl(323, 63%, 37%)
HSVhsv(323, 77%, 61%)
CMYKcmyk(0%, 77.4%, 29.7%, 39.2%)
CIE-LABlab(36.51, 54.70, -13.59)
CIE-LCHlch(36.51, 56.37, 346.05°)
OKLaboklab(47.53% 0.1668 -0.0358)
OKLCHoklch(47.53% 0.171 347.9)
XYZxyz(16.8798, 9.2767, 15.3667)
Luminance0.0927 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B236D #239B51
analogous
#8D239B #9B236D #9B2331
triadic
#9B236D #6D9B23 #236D9B
tetradic
#9B236D #9B8D23 #239B51 #23319B
square
#9B236D #9B8D23 #239B51 #23319B
split-complementary
#9B236D #319B23 #239B8D
monochromatic
#370C27 #69184A #9B236D #CD2E90 #DB5EAB

Accessibility & contrast

On white

7.36
#9B236D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9B236D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B236D
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B236D#FFFFFF#000000##FFFFFF
##9B236D1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36496F
Deuteranopia (green-blind)
#595D6A
Tritanopia (blue-blind)
#A61D45
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b236d;
/* rgb */ color: rgb(155, 35, 109);
/* oklch */ color: oklch(47.5% 0.171 347.9);
Tailwind
colors: {
  custom: {
    50: '#bd6b97',
    500: '#9b236d',
    950: '#000000',
  },
}
SCSS
$custom: #9b236d;
$custom-light: #bd6b97;
$custom-dark: #000000;
JSON
{
  "hex": "#9b236d",
  "rgb": {
    "r": 155,
    "g": 35,
    "b": 109
  },
  "hsl": {
    "h": 323,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4753,
    "c": 0.17059,
    "h": 347.9
  },
  "luminance": 0.09275
}

Semantic roles & 50–950 ramp

primary
#9B236D
secondary
#5ABF81
accent
#E68142
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9B236D

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

Preview Lab → · Contrast checker → · Palette generator →

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