#9C2254#9C2254

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

Color values

HEX#9C2254
RGBrgb(156, 34, 84)
HSLhsl(335, 64%, 37%)
HSVhsv(335, 78%, 61%)
CMYKcmyk(0%, 78.2%, 46.2%, 38.8%)
CIE-LABlab(35.70, 52.55, 1.19)
CIE-LCHlch(35.70, 52.57, 1.30°)
OKLaboklab(46.68% 0.1613 0.0037)
OKLCHoklch(46.68% 0.161 1.3)
XYZxyz(15.8838, 8.8542, 9.2584)
Luminance0.0885 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2254 #229C6A
analogous
#9C2291 #9C2254 #9C2D22
triadic
#9C2254 #549C22 #22549C
tetradic
#9C2254 #919C22 #229C6A #2D229C
square
#9C2254 #919C22 #229C6A #2D229C
split-complementary
#9C2254 #229C2D #22919C
monochromatic
#380C1E #6A1739 #9C2254 #CE2D6F #DC5D91

Accessibility & contrast

On white

7.58
#9C2254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9C2254
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2254#FFFFFF#000000##FFFFFF
##9C22541.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4555
Deuteranopia (green-blind)
#5F5C51
Tritanopia (blue-blind)
#AA0638
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9c2254;
/* rgb */ color: rgb(156, 34, 84);
/* oklch */ color: oklch(46.7% 0.161 1.3);
Tailwind
colors: {
  custom: {
    50: '#bf6a83',
    500: '#9c2254',
    950: '#000000',
  },
}
SCSS
$custom: #9c2254;
$custom-light: #bf6a83;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2254",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 84
  },
  "hsl": {
    "h": 335.41,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46682,
    "c": 0.16136,
    "h": 1.3
  },
  "luminance": 0.08852
}

Semantic roles & 50–950 ramp

primary
#9C2254
secondary
#5AC096
accent
#E7A341
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9C2254

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

Preview Lab → · Contrast checker → · Palette generator →

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