#9C2870#9C2870

#9C2870 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.3% C 0.167 H 347.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#9C2870
RGBrgb(156, 40, 112)
HSLhsl(323, 59%, 38%)
HSVhsv(323, 74%, 61%)
CMYKcmyk(0%, 74.4%, 28.2%, 38.8%)
CIE-LABlab(37.40, 53.69, -14.11)
CIE-LCHlch(37.40, 55.51, 345.28°)
OKLaboklab(48.25% 0.1632 -0.0372)
OKLCHoklch(48.25% 0.167 347.1)
XYZxyz(17.3945, 9.7573, 16.2934)
Luminance0.0975 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2870 #289C54
analogous
#8E289C #9C2870 #9C2836
triadic
#9C2870 #709C28 #28709C
tetradic
#9C2870 #9C8E28 #289C54 #28369C
square
#9C2870 #9C8E28 #289C54 #28369C
split-complementary
#9C2870 #369C28 #289C8E
monochromatic
#3B0F2A #6B1C4D #9C2870 #CB3693 #D867AD

Accessibility & contrast

On white

7.12
#9C2870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9C2870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2870
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2870#FFFFFF#000000##FFFFFF
##9C28701.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384B72
Deuteranopia (green-blind)
#5B5F6D
Tritanopia (blue-blind)
#A72448
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c2870;
/* rgb */ color: rgb(156, 40, 112);
/* oklch */ color: oklch(48.3% 0.167 347.1);
Tailwind
colors: {
  custom: {
    50: '#bd6d99',
    500: '#9c2870',
    950: '#000000',
  },
}
SCSS
$custom: #9c2870;
$custom-light: #bd6d99;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2870",
  "rgb": {
    "r": 156,
    "g": 40,
    "b": 112
  },
  "hsl": {
    "h": 322.759,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48253,
    "c": 0.16743,
    "h": 347.1
  },
  "luminance": 0.09755
}

Semantic roles & 50–950 ramp

primary
#9C2870
secondary
#62BE85
accent
#E28145
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9C2870

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

Preview Lab → · Contrast checker → · Palette generator →

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