#9B256B#9B256B

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

Color values

HEX#9B256B
RGBrgb(155, 37, 107)
HSLhsl(324, 61%, 38%)
HSVhsv(324, 76%, 61%)
CMYKcmyk(0%, 76.1%, 31%, 39.2%)
CIE-LABlab(36.66, 53.81, -12.10)
CIE-LCHlch(36.66, 55.16, 347.33°)
OKLaboklab(47.61% 0.1643 -0.0317)
OKLCHoklch(47.61% 0.167 349.1)
XYZxyz(16.8339, 9.3552, 14.8263)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B256B #259B55
analogous
#90259B #9B256B #9B2530
triadic
#9B256B #6B9B25 #256B9B
tetradic
#9B256B #9B9025 #259B55 #25309B
square
#9B256B #9B9025 #259B55 #25309B
split-complementary
#9B256B #309B25 #259B90
monochromatic
#380D27 #6A1949 #9B256B #CC318D #D961A8

Accessibility & contrast

On white

7.32
#9B256B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B256B
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B256B#FFFFFF#000000##FFFFFF
##9B256B1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38496D
Deuteranopia (green-blind)
#5A5E68
Tritanopia (blue-blind)
#A61E45
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b256b;
/* rgb */ color: rgb(155, 37, 107);
/* oklch */ color: oklch(47.6% 0.167 349.1);
Tailwind
colors: {
  custom: {
    50: '#bd6c95',
    500: '#9b256b',
    950: '#000000',
  },
}
SCSS
$custom: #9b256b;
$custom-light: #bd6c95;
$custom-dark: #000000;
JSON
{
  "hex": "#9b256b",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 107
  },
  "hsl": {
    "h": 324.407,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47611,
    "c": 0.16732,
    "h": 349.1
  },
  "luminance": 0.09353
}

Semantic roles & 50–950 ramp

primary
#9B256B
secondary
#5DBF85
accent
#E58543
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9B256B

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

Preview Lab → · Contrast checker → · Palette generator →

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