#9C227D#9C227D

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

Color values

HEX#9C227D
RGBrgb(156, 34, 125)
HSLhsl(315, 64%, 37%)
HSVhsv(315, 78%, 61%)
CMYKcmyk(0%, 78.2%, 19.9%, 38.8%)
CIE-LABlab(37.29, 57.36, -22.42)
CIE-LCHlch(37.29, 61.58, 338.65°)
OKLaboklab(48.36% 0.1716 -0.0605)
OKLCHoklch(48.36% 0.182 340.6)
XYZxyz(17.9846, 9.6945, 20.3221)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C227D #229C41
analogous
#7E229C #9C227D #9C2240
triadic
#9C227D #7D9C22 #227D9C
tetradic
#9C227D #9C7E22 #229C41 #22409C
square
#9C227D #9C7E22 #229C41 #22409C
split-complementary
#9C227D #409C22 #229C7E
monochromatic
#380C2C #6A1755 #9C227D #CE2DA5 #DC5DBB

Accessibility & contrast

On white

7.15
#9C227D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9C227D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C227D
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C227D#FFFFFF#000000##FFFFFF
##9C227D1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4B7F
Deuteranopia (green-blind)
#545F7A
Tritanopia (blue-blind)
#A6264D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c227d;
/* rgb */ color: rgb(156, 34, 125);
/* oklch */ color: oklch(48.4% 0.182 340.6);
Tailwind
colors: {
  custom: {
    50: '#bd6ba3',
    500: '#9c227d',
    950: '#000000',
  },
}
SCSS
$custom: #9c227d;
$custom-light: #bd6ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c227d",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 125
  },
  "hsl": {
    "h": 315.246,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48356,
    "c": 0.18197,
    "h": 340.6
  },
  "luminance": 0.09693
}

Semantic roles & 50–950 ramp

primary
#9C227D
secondary
#5AC074
accent
#E76B41
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9C227D

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

Preview Lab → · Contrast checker → · Palette generator →

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