#9C2271#9C2271

#9C2271 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.175 H 346.2°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#9C2271
RGBrgb(156, 34, 113)
HSLhsl(321, 64%, 37%)
HSVhsv(321, 78%, 61%)
CMYKcmyk(0%, 78.2%, 27.6%, 38.8%)
CIE-LABlab(36.75, 55.77, -15.73)
CIE-LCHlch(36.75, 57.95, 344.25°)
OKLaboklab(47.8% 0.1695 -0.0417)
OKLCHoklch(47.8% 0.175 346.2)
XYZxyz(17.2638, 9.4062, 16.5260)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2271 #229C4D
analogous
#8A229C #9C2271 #9C2234
triadic
#9C2271 #719C22 #22719C
tetradic
#9C2271 #9C8A22 #229C4D #22349C
square
#9C2271 #9C8A22 #229C4D #22349C
split-complementary
#9C2271 #349C22 #229C8A
monochromatic
#380C28 #6A174D #9C2271 #CE2D95 #DC5DAF

Accessibility & contrast

On white

7.29
#9C2271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9C2271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2271
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2271#FFFFFF#000000##FFFFFF
##9C22711.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334973
Deuteranopia (green-blind)
#585E6E
Tritanopia (blue-blind)
#A71E47
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9c2271;
/* rgb */ color: rgb(156, 34, 113);
/* oklch */ color: oklch(47.8% 0.175 346.2);
Tailwind
colors: {
  custom: {
    50: '#bd6b9a',
    500: '#9c2271',
    950: '#000000',
  },
}
SCSS
$custom: #9c2271;
$custom-light: #bd6b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2271",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 113
  },
  "hsl": {
    "h": 321.148,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47795,
    "c": 0.17459,
    "h": 346.2
  },
  "luminance": 0.09404
}

Semantic roles & 50–950 ramp

primary
#9C2271
secondary
#5AC07E
accent
#E77B41
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9C2271

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

Preview Lab → · Contrast checker → · Palette generator →

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