#9B237A#9B237A

#9B237A is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.178 H 341.6°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#9B237A
RGBrgb(155, 35, 122)
HSLhsl(317, 63%, 37%)
HSVhsv(317, 77%, 61%)
CMYKcmyk(0%, 77.4%, 21.3%, 39.2%)
CIE-LABlab(37.07, 56.40, -20.90)
CIE-LCHlch(37.07, 60.14, 339.67°)
OKLaboklab(48.12% 0.1693 -0.0562)
OKLCHoklch(48.12% 0.178 341.6)
XYZxyz(17.6320, 9.5776, 19.3287)
Luminance0.0958 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B237A #239B44
analogous
#80239B #9B237A #9B233E
triadic
#9B237A #7A9B23 #237A9B
tetradic
#9B237A #9B8023 #239B44 #233E9B
square
#9B237A #9B8023 #239B44 #233E9B
split-complementary
#9B237A #3E9B23 #239B80
monochromatic
#370C2B #691853 #9B237A #CD2EA1 #DB5EB8

Accessibility & contrast

On white

7.20
#9B237A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B237A
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B237A#FFFFFF#000000##FFFFFF
##9B237A1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4B7C
Deuteranopia (green-blind)
#555E77
Tritanopia (blue-blind)
#A5254C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b237a;
/* rgb */ color: rgb(155, 35, 122);
/* oklch */ color: oklch(48.1% 0.178 341.6);
Tailwind
colors: {
  custom: {
    50: '#bc6ba0',
    500: '#9b237a',
    950: '#000000',
  },
}
SCSS
$custom: #9b237a;
$custom-light: #bc6ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b237a",
  "rgb": {
    "r": 155,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 316.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48121,
    "c": 0.17839,
    "h": 341.6
  },
  "luminance": 0.09576
}

Semantic roles & 50–950 ramp

primary
#9B237A
secondary
#5ABF76
accent
#E66F42
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #9B237A

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

Preview Lab → · Contrast checker → · Palette generator →

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