#9B256A#9B256A

#9B256A is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.167 H 349.6°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#9B256A
RGBrgb(155, 37, 106)
HSLhsl(325, 61%, 38%)
HSVhsv(325, 76%, 61%)
CMYKcmyk(0%, 76.1%, 31.6%, 39.2%)
CIE-LABlab(36.62, 53.69, -11.53)
CIE-LCHlch(36.62, 54.91, 347.88°)
OKLaboklab(47.57% 0.1641 -0.0301)
OKLCHoklch(47.57% 0.167 349.6)
XYZxyz(16.7816, 9.3342, 14.5508)
Luminance0.0933 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B256A #259B56
analogous
#91259B #9B256A #9B252F
triadic
#9B256A #6A9B25 #256A9B
tetradic
#9B256A #9B9125 #259B56 #252F9B
square
#9B256A #9B9125 #259B56 #252F9B
split-complementary
#9B256A #2F9B25 #259B91
monochromatic
#380D26 #6A1948 #9B256A #CC318C #D961A7

Accessibility & contrast

On white

7.33
#9B256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B256A
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B256A#FFFFFF#000000##FFFFFF
##9B256A1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38496C
Deuteranopia (green-blind)
#5B5E67
Tritanopia (blue-blind)
#A71E44
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b256a;
/* rgb */ color: rgb(155, 37, 106);
/* oklch */ color: oklch(47.6% 0.167 349.6);
Tailwind
colors: {
  custom: {
    50: '#bd6b94',
    500: '#9b256a',
    950: '#000000',
  },
}
SCSS
$custom: #9b256a;
$custom-light: #bd6b94;
$custom-dark: #000000;
JSON
{
  "hex": "#9b256a",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 324.915,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4757,
    "c": 0.1668,
    "h": 349.6
  },
  "luminance": 0.09332
}

Semantic roles & 50–950 ramp

primary
#9B256A
secondary
#5DBF86
accent
#E58643
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9B256A

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

Preview Lab → · Contrast checker → · Palette generator →

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