#9B256C#9B256C

#9B256C is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.168 H 348.6°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9B256C
RGBrgb(155, 37, 108)
HSLhsl(324, 61%, 38%)
HSVhsv(324, 76%, 61%)
CMYKcmyk(0%, 76.1%, 30.3%, 39.2%)
CIE-LABlab(36.70, 53.94, -12.67)
CIE-LCHlch(36.70, 55.40, 346.78°)
OKLaboklab(47.65% 0.1645 -0.0333)
OKLCHoklch(47.65% 0.168 348.6)
XYZxyz(16.8868, 9.3763, 15.1050)
Luminance0.0937 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B256C #259B54
analogous
#8F259B #9B256C #9B2531
triadic
#9B256C #6C9B25 #256C9B
tetradic
#9B256C #9B8F25 #259B54 #25319B
square
#9B256C #9B8F25 #259B54 #25319B
split-complementary
#9B256C #319B25 #259B8F
monochromatic
#380D27 #6A194A #9B256C #CC318E #D961A9

Accessibility & contrast

On white

7.30
#9B256C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9B256C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B256C
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B256C#FFFFFF#000000##FFFFFF
##9B256C1.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37496E
Deuteranopia (green-blind)
#5A5E69
Tritanopia (blue-blind)
#A61F45
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b256c;
/* rgb */ color: rgb(155, 37, 108);
/* oklch */ color: oklch(47.7% 0.168 348.6);
Tailwind
colors: {
  custom: {
    50: '#bd6c96',
    500: '#9b256c',
    950: '#000000',
  },
}
SCSS
$custom: #9b256c;
$custom-light: #bd6c96;
$custom-dark: #000000;
JSON
{
  "hex": "#9b256c",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 108
  },
  "hsl": {
    "h": 323.898,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47653,
    "c": 0.16787,
    "h": 348.6
  },
  "luminance": 0.09374
}

Semantic roles & 50–950 ramp

primary
#9B256C
secondary
#5DBF84
accent
#E58343
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9B256C

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

Preview Lab → · Contrast checker → · Palette generator →

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