#9C237D#9C237D

#9C237D is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.4% C 0.181 H 340.6°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#9C237D
RGBrgb(156, 35, 125)
HSLhsl(315, 63%, 37%)
HSVhsv(315, 78%, 61%)
CMYKcmyk(0%, 77.6%, 19.9%, 38.8%)
CIE-LABlab(37.39, 57.06, -22.26)
CIE-LCHlch(37.39, 61.24, 338.69°)
OKLaboklab(48.43% 0.1707 -0.06)
OKLCHoklch(48.43% 0.181 340.6)
XYZxyz(18.0136, 9.7525, 20.3318)
Luminance0.0975 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C237D #239C42
analogous
#7F239C #9C237D #9C2340
triadic
#9C237D #7D9C23 #237D9C
tetradic
#9C237D #9C7F23 #239C42 #23409C
square
#9C237D #9C7F23 #239C42 #23409C
split-complementary
#9C237D #409C23 #239C7F
monochromatic
#380D2D #6A1855 #9C237D #CE2EA5 #DB5EBB

Accessibility & contrast

On white

7.12
#9C237D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9C237D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C237D
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C237D#FFFFFF#000000##FFFFFF
##9C237D1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C7F
Deuteranopia (green-blind)
#555F7A
Tritanopia (blue-blind)
#A6274E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c237d;
/* rgb */ color: rgb(156, 35, 125);
/* oklch */ color: oklch(48.4% 0.181 340.6);
Tailwind
colors: {
  custom: {
    50: '#bd6ca3',
    500: '#9c237d',
    950: '#000000',
  },
}
SCSS
$custom: #9c237d;
$custom-light: #bd6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c237d",
  "rgb": {
    "r": 156,
    "g": 35,
    "b": 125
  },
  "hsl": {
    "h": 315.372,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48432,
    "c": 0.18095,
    "h": 340.6
  },
  "luminance": 0.09751
}

Semantic roles & 50–950 ramp

primary
#9C237D
secondary
#5BC075
accent
#E66C41
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9C237D

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

Preview Lab → · Contrast checker → · Palette generator →

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