#9C237E#9C237E

#9C237E is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.5% C 0.182 H 340.2°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#9C237E
RGBrgb(156, 35, 126)
HSLhsl(315, 63%, 37%)
HSVhsv(315, 78%, 61%)
CMYKcmyk(0%, 77.6%, 19.2%, 38.8%)
CIE-LABlab(37.44, 57.19, -22.80)
CIE-LCHlch(37.44, 61.57, 338.26°)
OKLaboklab(48.48% 0.1708 -0.0616)
OKLCHoklch(48.48% 0.182 340.2)
XYZxyz(18.0778, 9.7782, 20.6699)
Luminance0.0978 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C237E #239C41
analogous
#7E239C #9C237E #9C2341
triadic
#9C237E #7E9C23 #237E9C
tetradic
#9C237E #9C7E23 #239C41 #23419C
square
#9C237E #9C7E23 #239C41 #23419C
split-complementary
#9C237E #419C23 #239C7E
monochromatic
#380D2D #6A1856 #9C237E #CE2EA6 #DB5EBC

Accessibility & contrast

On white

7.11
#9C237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9C237E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C237E
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C237E#FFFFFF#000000##FFFFFF
##9C237E1.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4C80
Deuteranopia (green-blind)
#545F7B
Tritanopia (blue-blind)
#A6274E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c237e;
/* rgb */ color: rgb(156, 35, 126);
/* oklch */ color: oklch(48.5% 0.182 340.2);
Tailwind
colors: {
  custom: {
    50: '#bd6ca3',
    500: '#9c237e',
    950: '#000000',
  },
}
SCSS
$custom: #9c237e;
$custom-light: #bd6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c237e",
  "rgb": {
    "r": 156,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 314.876,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48481,
    "c": 0.18159,
    "h": 340.2
  },
  "luminance": 0.09776
}

Semantic roles & 50–950 ramp

primary
#9C237E
secondary
#5BC074
accent
#E66A41
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9C237E

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

Preview Lab → · Contrast checker → · Palette generator →

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