#9B237B#9B237B

#9B237B is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.2% C 0.179 H 341.2°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#9B237B
RGBrgb(155, 35, 123)
HSLhsl(316, 63%, 37%)
HSVhsv(316, 77%, 61%)
CMYKcmyk(0%, 77.4%, 20.6%, 39.2%)
CIE-LABlab(37.12, 56.53, -21.45)
CIE-LCHlch(37.12, 60.47, 339.22°)
OKLaboklab(48.17% 0.1695 -0.0578)
OKLCHoklch(48.17% 0.179 341.2)
XYZxyz(17.6943, 9.6025, 19.6567)
Luminance0.0960 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B237B #239B43
analogous
#7F239B #9B237B #9B233F
triadic
#9B237B #7B9B23 #237B9B
tetradic
#9B237B #9B7F23 #239B43 #233F9B
square
#9B237B #9B7F23 #239B43 #233F9B
split-complementary
#9B237B #3F9B23 #239B7F
monochromatic
#370C2C #691853 #9B237B #CD2EA3 #DB5EB9

Accessibility & contrast

On white

7.19
#9B237B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9B237B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B237B
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B237B#FFFFFF#000000##FFFFFF
##9B237B1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4B7D
Deuteranopia (green-blind)
#545E78
Tritanopia (blue-blind)
#A5264D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b237b;
/* rgb */ color: rgb(155, 35, 123);
/* oklch */ color: oklch(48.2% 0.179 341.2);
Tailwind
colors: {
  custom: {
    50: '#bc6ba1',
    500: '#9b237b',
    950: '#000000',
  },
}
SCSS
$custom: #9b237b;
$custom-light: #bc6ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b237b",
  "rgb": {
    "r": 155,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 316,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48169,
    "c": 0.17903,
    "h": 341.2
  },
  "luminance": 0.09601
}

Semantic roles & 50–950 ramp

primary
#9B237B
secondary
#5ABF75
accent
#E66D42
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #9B237B

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

Preview Lab → · Contrast checker → · Palette generator →

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