#9C2255#9C2255

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

Color values

HEX#9C2255
RGBrgb(156, 34, 85)
HSLhsl(335, 64%, 37%)
HSVhsv(335, 78%, 61%)
CMYKcmyk(0%, 78.2%, 45.5%, 38.8%)
CIE-LABlab(35.73, 52.65, 0.59)
CIE-LCHlch(35.73, 52.65, 0.65°)
OKLaboklab(46.72% 0.1617 0.0021)
OKLCHoklch(46.72% 0.162 0.8)
XYZxyz(15.9233, 8.8700, 9.4661)
Luminance0.0887 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2255 #229C69
analogous
#9C2292 #9C2255 #9C2C22
triadic
#9C2255 #559C22 #22559C
tetradic
#9C2255 #929C22 #229C69 #2C229C
square
#9C2255 #929C22 #229C69 #2C229C
split-complementary
#9C2255 #229C2C #22929C
monochromatic
#380C1E #6A173A #9C2255 #CE2D70 #DC5D92

Accessibility & contrast

On white

7.57
#9C2255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9C2255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2255
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2255#FFFFFF#000000##FFFFFF
##9C22551.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4556
Deuteranopia (green-blind)
#5F5C52
Tritanopia (blue-blind)
#AA0739
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9c2255;
/* rgb */ color: rgb(156, 34, 85);
/* oklch */ color: oklch(46.7% 0.162 0.8);
Tailwind
colors: {
  custom: {
    50: '#be6a84',
    500: '#9c2255',
    950: '#000000',
  },
}
SCSS
$custom: #9c2255;
$custom-light: #be6a84;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2255",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 334.918,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46715,
    "c": 0.16168,
    "h": 0.8
  },
  "luminance": 0.08868
}

Semantic roles & 50–950 ramp

primary
#9C2255
secondary
#5AC095
accent
#E7A241
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9C2255

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

Preview Lab → · Contrast checker → · Palette generator →

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