#9C2257#9C2257

#9C2257 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.162 H 359.7°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#9C2257
RGBrgb(156, 34, 87)
HSLhsl(334, 64%, 37%)
HSVhsv(334, 78%, 61%)
CMYKcmyk(0%, 78.2%, 44.2%, 38.8%)
CIE-LABlab(35.80, 52.84, -0.60)
CIE-LCHlch(35.80, 52.85, 359.35°)
OKLaboklab(46.78% 0.1624 -0.001)
OKLCHoklch(46.78% 0.162 359.7)
XYZxyz(16.0039, 8.9022, 9.8905)
Luminance0.0890 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2257 #229C67
analogous
#9C2294 #9C2257 #9C2A22
triadic
#9C2257 #579C22 #22579C
tetradic
#9C2257 #949C22 #229C67 #2A229C
square
#9C2257 #949C22 #229C67 #2A229C
split-complementary
#9C2257 #229C2A #22949C
monochromatic
#380C1F #6A173B #9C2257 #CE2D73 #DC5D94

Accessibility & contrast

On white

7.55
#9C2257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#9C2257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2257
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2257#FFFFFF#000000##FFFFFF
##9C22571.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4558
Deuteranopia (green-blind)
#5F5D54
Tritanopia (blue-blind)
#A90A39
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9c2257;
/* rgb */ color: rgb(156, 34, 87);
/* oklch */ color: oklch(46.8% 0.162 359.7);
Tailwind
colors: {
  custom: {
    50: '#be6a86',
    500: '#9c2257',
    950: '#000000',
  },
}
SCSS
$custom: #9c2257;
$custom-light: #be6a86;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2257",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 87
  },
  "hsl": {
    "h": 333.934,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46781,
    "c": 0.16235,
    "h": 359.7
  },
  "luminance": 0.089
}

Semantic roles & 50–950 ramp

primary
#9C2257
secondary
#5AC094
accent
#E79F41
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9C2257

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

Preview Lab → · Contrast checker → · Palette generator →

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