#9C2058#9C2058

#9C2058 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.165 H 358.8°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#9C2058
RGBrgb(156, 32, 88)
HSLhsl(333, 66%, 37%)
HSVhsv(333, 79%, 61%)
CMYKcmyk(0%, 79.5%, 43.6%, 38.8%)
CIE-LABlab(35.61, 53.55, -1.52)
CIE-LCHlch(35.61, 53.58, 358.38°)
OKLaboklab(46.66% 0.1647 -0.0033)
OKLCHoklch(46.66% 0.165 358.8)
XYZxyz(15.9895, 8.8076, 10.0887)
Luminance0.0881 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2058 #209C64
analogous
#9C2096 #9C2058 #9C2620
triadic
#9C2058 #589C20 #20589C
tetradic
#9C2058 #969C20 #209C64 #26209C
square
#9C2058 #969C20 #209C64 #26209C
split-complementary
#9C2058 #209C26 #20969C
monochromatic
#360B1F #69163B #9C2058 #CF2A75 #DD5995

Accessibility & contrast

On white

7.61
#9C2058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9C2058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2058
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2058#FFFFFF#000000##FFFFFF
##9C20581.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4559
Deuteranopia (green-blind)
#5E5C55
Tritanopia (blue-blind)
#A90639
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9c2058;
/* rgb */ color: rgb(156, 32, 88);
/* oklch */ color: oklch(46.7% 0.165 358.8);
Tailwind
colors: {
  custom: {
    50: '#be6987',
    500: '#9c2058',
    950: '#000000',
  },
}
SCSS
$custom: #9c2058;
$custom-light: #be6987;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2058",
  "rgb": {
    "r": 156,
    "g": 32,
    "b": 88
  },
  "hsl": {
    "h": 332.903,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46657,
    "c": 0.16468,
    "h": 358.8
  },
  "luminance": 0.08806
}

Semantic roles & 50–950 ramp

primary
#9C2058
secondary
#57C191
accent
#E99C3F
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9C2058

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

Preview Lab → · Contrast checker → · Palette generator →

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