#9B256F#9B256F

#9B256F is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.170 H 347.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#9B256F
RGBrgb(155, 37, 111)
HSLhsl(322, 61%, 38%)
HSVhsv(322, 76%, 61%)
CMYKcmyk(0%, 76.1%, 28.4%, 39.2%)
CIE-LABlab(36.82, 54.31, -14.38)
CIE-LCHlch(36.82, 56.18, 345.17°)
OKLaboklab(47.78% 0.1652 -0.038)
OKLCHoklch(47.78% 0.17 347)
XYZxyz(17.0492, 9.4413, 15.9603)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B256F #259B51
analogous
#8C259B #9B256F #9B2534
triadic
#9B256F #6F9B25 #256F9B
tetradic
#9B256F #9B8C25 #259B51 #25349B
square
#9B256F #9B8C25 #259B51 #25349B
split-complementary
#9B256F #349B25 #259B8C
monochromatic
#380D28 #6A194C #9B256F #CC3192 #D961AC

Accessibility & contrast

On white

7.27
#9B256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9B256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B256F
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B256F#FFFFFF#000000##FFFFFF
##9B256F1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364A71
Deuteranopia (green-blind)
#595E6C
Tritanopia (blue-blind)
#A62147
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b256f;
/* rgb */ color: rgb(155, 37, 111);
/* oklch */ color: oklch(47.8% 0.170 347.0);
Tailwind
colors: {
  custom: {
    50: '#bd6c98',
    500: '#9b256f',
    950: '#000000',
  },
}
SCSS
$custom: #9b256f;
$custom-light: #bd6c98;
$custom-dark: #000000;
JSON
{
  "hex": "#9b256f",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 322.373,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47781,
    "c": 0.16954,
    "h": 347
  },
  "luminance": 0.09439
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B256F

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

Preview Lab → · Contrast checker → · Palette generator →

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