#9B256E#9B256E

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

Color values

HEX#9B256E
RGBrgb(155, 37, 110)
HSLhsl(323, 61%, 38%)
HSVhsv(323, 76%, 61%)
CMYKcmyk(0%, 76.1%, 29%, 39.2%)
CIE-LABlab(36.78, 54.18, -13.81)
CIE-LCHlch(36.78, 55.92, 345.70°)
OKLaboklab(47.74% 0.165 -0.0364)
OKLCHoklch(47.74% 0.169 347.6)
XYZxyz(16.9944, 9.4194, 15.6720)
Luminance0.0942 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B256E #259B52
analogous
#8D259B #9B256E #9B2533
triadic
#9B256E #6E9B25 #256E9B
tetradic
#9B256E #9B8D25 #259B52 #25339B
square
#9B256E #9B8D25 #259B52 #25339B
split-complementary
#9B256E #339B25 #259B8D
monochromatic
#380D28 #6A194B #9B256E #CC3191 #D961AB

Accessibility & contrast

On white

7.28
#9B256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B256E
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B256E#FFFFFF#000000##FFFFFF
##9B256E1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364970
Deuteranopia (green-blind)
#595E6B
Tritanopia (blue-blind)
#A62046
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b256e;
/* rgb */ color: rgb(155, 37, 110);
/* oklch */ color: oklch(47.7% 0.169 347.6);
Tailwind
colors: {
  custom: {
    50: '#bd6c97',
    500: '#9b256e',
    950: '#000000',
  },
}
SCSS
$custom: #9b256e;
$custom-light: #bd6c97;
$custom-dark: #000000;
JSON
{
  "hex": "#9b256e",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 322.881,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47738,
    "c": 0.16898,
    "h": 347.6
  },
  "luminance": 0.09417
}

Semantic roles & 50–950 ramp

primary
#9B256E
secondary
#5DBF82
accent
#E58143
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9B256E

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

Preview Lab → · Contrast checker → · Palette generator →

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