#9C256E#9C256E

#9C256E is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.9% C 0.170 H 347.9°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9C256E
RGBrgb(156, 37, 110)
HSLhsl(323, 62%, 38%)
HSVhsv(323, 76%, 61%)
CMYKcmyk(0%, 76.3%, 29.5%, 38.8%)
CIE-LABlab(36.96, 54.45, -13.52)
CIE-LCHlch(36.96, 56.10, 346.06°)
OKLaboklab(47.91% 0.1659 -0.0356)
OKLCHoklch(47.91% 0.17 347.9)
XYZxyz(17.1872, 9.5188, 15.6810)
Luminance0.0952 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C256E #259C53
analogous
#8E259C #9C256E #9C2533
triadic
#9C256E #6E9C25 #256E9C
tetradic
#9C256E #9C8E25 #259C53 #25339C
square
#9C256E #9C8E25 #259C53 #25339C
split-complementary
#9C256E #339C25 #259C8E
monochromatic
#390E28 #6B194B #9C256E #CD3191 #DA62AB

Accessibility & contrast

On white

7.23
#9C256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9C256E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C256E
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C256E#FFFFFF#000000##FFFFFF
##9C256E1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374A70
Deuteranopia (green-blind)
#5A5E6B
Tritanopia (blue-blind)
#A72046
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c256e;
/* rgb */ color: rgb(156, 37, 110);
/* oklch */ color: oklch(47.9% 0.170 347.9);
Tailwind
colors: {
  custom: {
    50: '#bd6c97',
    500: '#9c256e',
    950: '#000000',
  },
}
SCSS
$custom: #9c256e;
$custom-light: #bd6c97;
$custom-dark: #000000;
JSON
{
  "hex": "#9c256e",
  "rgb": {
    "r": 156,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 323.193,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47907,
    "c": 0.1697,
    "h": 347.9
  },
  "luminance": 0.09517
}

Semantic roles & 50–950 ramp

primary
#9C256E
secondary
#5EBF83
accent
#E58243
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9C256E

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

Preview Lab → · Contrast checker → · Palette generator →

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