#9C256C#9C256C

#9C256C is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.169 H 348.9°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#9C256C
RGBrgb(156, 37, 108)
HSLhsl(324, 62%, 38%)
HSVhsv(324, 76%, 61%)
CMYKcmyk(0%, 76.3%, 30.8%, 38.8%)
CIE-LABlab(36.88, 54.20, -12.37)
CIE-LCHlch(36.88, 55.60, 347.14°)
OKLaboklab(47.82% 0.1655 -0.0324)
OKLCHoklch(47.82% 0.169 348.9)
XYZxyz(17.0795, 9.4757, 15.1140)
Luminance0.0947 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C256C #259C55
analogous
#91259C #9C256C #9C2530
triadic
#9C256C #6C9C25 #256C9C
tetradic
#9C256C #9C9125 #259C55 #25309C
square
#9C256C #9C9125 #259C55 #25309C
split-complementary
#9C256C #309C25 #259C91
monochromatic
#390E28 #6B194A #9C256C #CD318E #DA62A9

Accessibility & contrast

On white

7.25
#9C256C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9C256C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C256C
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C256C#FFFFFF#000000##FFFFFF
##9C256C1.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38496E
Deuteranopia (green-blind)
#5B5E69
Tritanopia (blue-blind)
#A81E45
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c256c;
/* rgb */ color: rgb(156, 37, 108);
/* oklch */ color: oklch(47.8% 0.169 348.9);
Tailwind
colors: {
  custom: {
    50: '#bd6c96',
    500: '#9c256c',
    950: '#000000',
  },
}
SCSS
$custom: #9c256c;
$custom-light: #bd6c96;
$custom-dark: #000000;
JSON
{
  "hex": "#9c256c",
  "rgb": {
    "r": 156,
    "g": 37,
    "b": 108
  },
  "hsl": {
    "h": 324.202,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47823,
    "c": 0.1686,
    "h": 348.9
  },
  "luminance": 0.09474
}

Semantic roles & 50–950 ramp

primary
#9C256C
secondary
#5EBF85
accent
#E58443
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9C256C

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

Preview Lab → · Contrast checker → · Palette generator →

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