#9C2258#9C2258

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

Color values

HEX#9C2258
RGBrgb(156, 34, 88)
HSLhsl(333, 64%, 37%)
HSVhsv(333, 78%, 61%)
CMYKcmyk(0%, 78.2%, 43.6%, 38.8%)
CIE-LABlab(35.83, 52.94, -1.20)
CIE-LCHlch(35.83, 52.96, 358.70°)
OKLaboklab(46.82% 0.1627 -0.0025)
OKLCHoklch(46.82% 0.163 359.1)
XYZxyz(16.0450, 8.9187, 10.1072)
Luminance0.0892 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2258 #229C66
analogous
#9C2295 #9C2258 #9C2922
triadic
#9C2258 #589C22 #22589C
tetradic
#9C2258 #959C22 #229C66 #29229C
square
#9C2258 #959C22 #229C66 #29229C
split-complementary
#9C2258 #229C29 #22959C
monochromatic
#380C1F #6A173C #9C2258 #CE2D74 #DC5D95

Accessibility & contrast

On white

7.54
#9C2258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9C2258
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2258#FFFFFF#000000##FFFFFF
##9C22581.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4559
Deuteranopia (green-blind)
#5F5D55
Tritanopia (blue-blind)
#A90B3A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9c2258;
/* rgb */ color: rgb(156, 34, 88);
/* oklch */ color: oklch(46.8% 0.163 359.1);
Tailwind
colors: {
  custom: {
    50: '#be6a87',
    500: '#9c2258',
    950: '#000000',
  },
}
SCSS
$custom: #9c2258;
$custom-light: #be6a87;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2258",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 88
  },
  "hsl": {
    "h": 333.443,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46815,
    "c": 0.16271,
    "h": 359.1
  },
  "luminance": 0.08917
}

Semantic roles & 50–950 ramp

primary
#9C2258
secondary
#5AC093
accent
#E79D41
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9C2258

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

Preview Lab → · Contrast checker → · Palette generator →

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