#9B256D#9B256D

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

Color values

HEX#9B256D
RGBrgb(155, 37, 109)
HSLhsl(323, 61%, 38%)
HSVhsv(323, 76%, 61%)
CMYKcmyk(0%, 76.1%, 29.7%, 39.2%)
CIE-LABlab(36.74, 54.06, -13.24)
CIE-LCHlch(36.74, 55.66, 346.23°)
OKLaboklab(47.7% 0.1648 -0.0348)
OKLCHoklch(47.7% 0.168 348.1)
XYZxyz(16.9403, 9.3977, 15.3869)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B256D #259B53
analogous
#8E259B #9B256D #9B2532
triadic
#9B256D #6D9B25 #256D9B
tetradic
#9B256D #9B8E25 #259B53 #25329B
square
#9B256D #9B8E25 #259B53 #25329B
split-complementary
#9B256D #329B25 #259B8E
monochromatic
#380D28 #6A194A #9B256D #CC3190 #D961AA

Accessibility & contrast

On white

7.29
#9B256D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9B256D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B256D
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B256D#FFFFFF#000000##FFFFFF
##9B256D1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37496F
Deuteranopia (green-blind)
#5A5E6A
Tritanopia (blue-blind)
#A62046
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b256d;
/* rgb */ color: rgb(155, 37, 109);
/* oklch */ color: oklch(47.7% 0.168 348.1);
Tailwind
colors: {
  custom: {
    50: '#bd6c97',
    500: '#9b256d',
    950: '#000000',
  },
}
SCSS
$custom: #9b256d;
$custom-light: #bd6c97;
$custom-dark: #000000;
JSON
{
  "hex": "#9b256d",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 109
  },
  "hsl": {
    "h": 323.39,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47695,
    "c": 0.16842,
    "h": 348.1
  },
  "luminance": 0.09396
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B256D

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

Preview Lab → · Contrast checker → · Palette generator →

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