#9B237C#9B237C

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

Color values

HEX#9B237C
RGBrgb(155, 35, 124)
HSLhsl(316, 63%, 37%)
HSVhsv(316, 77%, 61%)
CMYKcmyk(0%, 77.4%, 20%, 39.2%)
CIE-LABlab(37.17, 56.67, -22.00)
CIE-LCHlch(37.17, 60.79, 338.78°)
OKLaboklab(48.22% 0.1696 -0.0593)
OKLCHoklch(48.22% 0.18 340.7)
XYZxyz(17.7572, 9.6277, 19.9880)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B237C #239B42
analogous
#7E239B #9B237C #9B2340
triadic
#9B237C #7C9B23 #237C9B
tetradic
#9B237C #9B7E23 #239B42 #23409B
square
#9B237C #9B7E23 #239B42 #23409B
split-complementary
#9B237C #409B23 #239B7E
monochromatic
#370C2C #691854 #9B237C #CD2EA4 #DB5EBA

Accessibility & contrast

On white

7.18
#9B237C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B237C
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B237C#FFFFFF#000000##FFFFFF
##9B237C1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b237c;
/* rgb */ color: rgb(155, 35, 124);
/* oklch */ color: oklch(48.2% 0.180 340.7);
Tailwind
colors: {
  custom: {
    50: '#bc6ba2',
    500: '#9b237c',
    950: '#000000',
  },
}
SCSS
$custom: #9b237c;
$custom-light: #bc6ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b237c",
  "rgb": {
    "r": 155,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 315.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48218,
    "c": 0.17968,
    "h": 340.7
  },
  "luminance": 0.09626
}

Semantic roles & 50–950 ramp

primary
#9B237C
secondary
#5ABF75
accent
#E66C42
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9B237C

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

Preview Lab → · Contrast checker → · Palette generator →

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