#9B237E#9B237E

#9B237E is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.3% C 0.181 H 339.8°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#9B237E
RGBrgb(155, 35, 126)
HSLhsl(315, 63%, 37%)
HSVhsv(315, 77%, 61%)
CMYKcmyk(0%, 77.4%, 18.7%, 39.2%)
CIE-LABlab(37.26, 56.95, -23.10)
CIE-LCHlch(37.26, 61.46, 337.92°)
OKLaboklab(48.32% 0.1699 -0.0624)
OKLCHoklch(48.32% 0.181 339.8)
XYZxyz(17.8850, 9.6788, 20.6609)
Luminance0.0968 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B237E #239B40
analogous
#7C239B #9B237E #9B2342
triadic
#9B237E #7E9B23 #237E9B
tetradic
#9B237E #9B7C23 #239B40 #23429B
square
#9B237E #9B7C23 #239B40 #23429B
split-complementary
#9B237E #429B23 #239B7C
monochromatic
#370C2D #691855 #9B237E #CD2EA7 #DB5EBC

Accessibility & contrast

On white

7.15
#9B237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9B237E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B237E
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B237E#FFFFFF#000000##FFFFFF
##9B237E1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4C80
Deuteranopia (green-blind)
#535E7B
Tritanopia (blue-blind)
#A4274E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b237e;
/* rgb */ color: rgb(155, 35, 126);
/* oklch */ color: oklch(48.3% 0.181 339.8);
Tailwind
colors: {
  custom: {
    50: '#bc6ba3',
    500: '#9b237e',
    950: '#000000',
  },
}
SCSS
$custom: #9b237e;
$custom-light: #bc6ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b237e",
  "rgb": {
    "r": 155,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 314.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48316,
    "c": 0.18099,
    "h": 339.8
  },
  "luminance": 0.09677
}

Semantic roles & 50–950 ramp

primary
#9B237E
secondary
#5ABF73
accent
#E66942
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9B237E

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

Preview Lab → · Contrast checker → · Palette generator →

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