#9C237F#9C237F

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

Color values

HEX#9C237F
RGBrgb(156, 35, 127)
HSLhsl(314, 63%, 37%)
HSVhsv(314, 78%, 61%)
CMYKcmyk(0%, 77.6%, 18.6%, 38.8%)
CIE-LABlab(37.49, 57.33, -23.35)
CIE-LCHlch(37.49, 61.91, 337.84°)
OKLaboklab(48.53% 0.171 -0.0631)
OKLCHoklch(48.53% 0.182 339.7)
XYZxyz(18.1426, 9.8041, 21.0115)
Luminance0.0980 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C237F #239C40
analogous
#7C239C #9C237F #9C2343
triadic
#9C237F #7F9C23 #237F9C
tetradic
#9C237F #9C7C23 #239C40 #23439C
square
#9C237F #9C7C23 #239C40 #23439C
split-complementary
#9C237F #439C23 #239C7C
monochromatic
#380D2E #6A1856 #9C237F #CE2EA8 #DB5EBD

Accessibility & contrast

On white

7.09
#9C237F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9C237F
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C237F#FFFFFF#000000##FFFFFF
##9C237F1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4C81
Deuteranopia (green-blind)
#545F7C
Tritanopia (blue-blind)
#A5284F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c237f;
/* rgb */ color: rgb(156, 35, 127);
/* oklch */ color: oklch(48.5% 0.182 339.7);
Tailwind
colors: {
  custom: {
    50: '#bd6ca4',
    500: '#9c237f',
    950: '#000000',
  },
}
SCSS
$custom: #9c237f;
$custom-light: #bd6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c237f",
  "rgb": {
    "r": 156,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 314.38,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48531,
    "c": 0.18226,
    "h": 339.7
  },
  "luminance": 0.09802
}

Semantic roles & 50–950 ramp

primary
#9C237F
secondary
#5BC073
accent
#E66941
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9C237F

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

Preview Lab → · Contrast checker → · Palette generator →

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