#9C237C#9C237C

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

Color values

HEX#9C237C
RGBrgb(156, 35, 124)
HSLhsl(316, 63%, 37%)
HSVhsv(316, 78%, 61%)
CMYKcmyk(0%, 77.6%, 20.5%, 38.8%)
CIE-LABlab(37.35, 56.92, -21.70)
CIE-LCHlch(37.35, 60.91, 339.13°)
OKLaboklab(48.38% 0.1706 -0.0585)
OKLCHoklch(48.38% 0.18 341.1)
XYZxyz(17.9500, 9.7271, 19.9971)
Luminance0.0973 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C237C #239C43
analogous
#80239C #9C237C #9C233F
triadic
#9C237C #7C9C23 #237C9C
tetradic
#9C237C #9C8023 #239C43 #233F9C
square
#9C237C #9C8023 #239C43 #233F9C
split-complementary
#9C237C #3F9C23 #239C80
monochromatic
#380D2D #6A1854 #9C237C #CE2EA4 #DB5EBA

Accessibility & contrast

On white

7.13
#9C237C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9C237C
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C237C#FFFFFF#000000##FFFFFF
##9C237C1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4B7E
Deuteranopia (green-blind)
#555F79
Tritanopia (blue-blind)
#A6264D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c237c;
/* rgb */ color: rgb(156, 35, 124);
/* oklch */ color: oklch(48.4% 0.180 341.1);
Tailwind
colors: {
  custom: {
    50: '#bd6ca2',
    500: '#9c237c',
    950: '#000000',
  },
}
SCSS
$custom: #9c237c;
$custom-light: #bd6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c237c",
  "rgb": {
    "r": 156,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 315.868,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48383,
    "c": 0.18029,
    "h": 341.1
  },
  "luminance": 0.09725
}

Semantic roles & 50–950 ramp

primary
#9C237C
secondary
#5BC076
accent
#E66D41
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9C237C

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

Preview Lab → · Contrast checker → · Palette generator →

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