#9C256F#9C256F

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

Color values

HEX#9C256F
RGBrgb(156, 37, 111)
HSLhsl(323, 62%, 38%)
HSVhsv(323, 76%, 61%)
CMYKcmyk(0%, 76.3%, 28.8%, 38.8%)
CIE-LABlab(37.01, 54.57, -14.08)
CIE-LCHlch(37.01, 56.36, 345.53°)
OKLaboklab(47.95% 0.1662 -0.0372)
OKLCHoklch(47.95% 0.17 347.4)
XYZxyz(17.2419, 9.5407, 15.9694)
Luminance0.0954 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C256F #259C52
analogous
#8D259C #9C256F #9C2533
triadic
#9C256F #6F9C25 #256F9C
tetradic
#9C256F #9C8D25 #259C52 #25339C
square
#9C256F #9C8D25 #259C52 #25339C
split-complementary
#9C256F #339C25 #259C8D
monochromatic
#390E29 #6B194C #9C256F #CD3192 #DA62AC

Accessibility & contrast

On white

7.22
#9C256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9C256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C256F
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C256F#FFFFFF#000000##FFFFFF
##9C256F1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364A71
Deuteranopia (green-blind)
#5A5E6C
Tritanopia (blue-blind)
#A72047
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c256f;
/* rgb */ color: rgb(156, 37, 111);
/* oklch */ color: oklch(47.9% 0.170 347.4);
Tailwind
colors: {
  custom: {
    50: '#bd6c98',
    500: '#9c256f',
    950: '#000000',
  },
}
SCSS
$custom: #9c256f;
$custom-light: #bd6c98;
$custom-dark: #000000;
JSON
{
  "hex": "#9c256f",
  "rgb": {
    "r": 156,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 322.689,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4795,
    "c": 0.17026,
    "h": 347.4
  },
  "luminance": 0.09539
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C256F

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

Preview Lab → · Contrast checker → · Palette generator →

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