#9B236F#9B236F

#9B236F is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.172 H 346.9°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#9B236F
RGBrgb(155, 35, 111)
HSLhsl(322, 63%, 37%)
HSVhsv(322, 77%, 61%)
CMYKcmyk(0%, 77.4%, 28.4%, 39.2%)
CIE-LABlab(36.59, 54.95, -14.73)
CIE-LCHlch(36.59, 56.89, 345.00°)
OKLaboklab(47.62% 0.1672 -0.0389)
OKLCHoklch(47.62% 0.172 346.9)
XYZxyz(16.9887, 9.3202, 15.9402)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B236F #239B4F
analogous
#8B239B #9B236F #9B2333
triadic
#9B236F #6F9B23 #236F9B
tetradic
#9B236F #9B8B23 #239B4F #23339B
square
#9B236F #9B8B23 #239B4F #23339B
split-complementary
#9B236F #339B23 #239B8B
monochromatic
#370C27 #69184B #9B236F #CD2E93 #DB5EAD

Accessibility & contrast

On white

7.33
#9B236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9B236F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B236F
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B236F#FFFFFF#000000##FFFFFF
##9B236F1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354971
Deuteranopia (green-blind)
#585D6C
Tritanopia (blue-blind)
#A61F46
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b236f;
/* rgb */ color: rgb(155, 35, 111);
/* oklch */ color: oklch(47.6% 0.172 346.9);
Tailwind
colors: {
  custom: {
    50: '#bd6b98',
    500: '#9b236f',
    950: '#000000',
  },
}
SCSS
$custom: #9b236f;
$custom-light: #bd6b98;
$custom-dark: #000000;
JSON
{
  "hex": "#9b236f",
  "rgb": {
    "r": 155,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 322,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47616,
    "c": 0.17171,
    "h": 346.9
  },
  "luminance": 0.09318
}

Semantic roles & 50–950 ramp

primary
#9B236F
secondary
#5ABF7F
accent
#E67E42
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9B236F

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

Preview Lab → · Contrast checker → · Palette generator →

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