#9B237D#9B237D

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

Color values

HEX#9B237D
RGBrgb(155, 35, 125)
HSLhsl(315, 63%, 37%)
HSVhsv(315, 77%, 61%)
CMYKcmyk(0%, 77.4%, 19.4%, 39.2%)
CIE-LABlab(37.21, 56.81, -22.55)
CIE-LCHlch(37.21, 61.12, 338.35°)
OKLaboklab(48.27% 0.1697 -0.0609)
OKLCHoklch(48.27% 0.18 340.3)
XYZxyz(17.8208, 9.6531, 20.3228)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B237D #239B41
analogous
#7D239B #9B237D #9B2341
triadic
#9B237D #7D9B23 #237D9B
tetradic
#9B237D #9B7D23 #239B41 #23419B
square
#9B237D #9B7D23 #239B41 #23419B
split-complementary
#9B237D #419B23 #239B7D
monochromatic
#370C2C #691855 #9B237D #CD2EA5 #DB5EBB

Accessibility & contrast

On white

7.17
#9B237D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9B237D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B237D
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B237D#FFFFFF#000000##FFFFFF
##9B237D1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4B7F
Deuteranopia (green-blind)
#545E7A
Tritanopia (blue-blind)
#A4274E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b237d;
/* rgb */ color: rgb(155, 35, 125);
/* oklch */ color: oklch(48.3% 0.180 340.3);
Tailwind
colors: {
  custom: {
    50: '#bc6ba3',
    500: '#9b237d',
    950: '#000000',
  },
}
SCSS
$custom: #9b237d;
$custom-light: #bc6ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b237d",
  "rgb": {
    "r": 155,
    "g": 35,
    "b": 125
  },
  "hsl": {
    "h": 315,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48267,
    "c": 0.18033,
    "h": 340.3
  },
  "luminance": 0.09651
}

Semantic roles & 50–950 ramp

primary
#9B237D
secondary
#5ABF74
accent
#E66B42
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9B237D

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

Preview Lab → · Contrast checker → · Palette generator →

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