#9B2255#9B2255

#9B2255 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.5% C 0.161 H 0.5°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#9B2255
RGBrgb(155, 34, 85)
HSLhsl(335, 64%, 37%)
HSVhsv(335, 78%, 61%)
CMYKcmyk(0%, 78.1%, 45.2%, 39.2%)
CIE-LABlab(35.54, 52.37, 0.29)
CIE-LCHlch(35.54, 52.37, 0.32°)
OKLaboklab(46.54% 0.1608 0.0013)
OKLCHoklch(46.54% 0.161 0.5)
XYZxyz(15.7305, 8.7706, 9.4571)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2255 #229B68
analogous
#9B2292 #9B2255 #9B2C22
triadic
#9B2255 #559B22 #22559B
tetradic
#9B2255 #929B22 #229B68 #2C229B
square
#9B2255 #929B22 #229B68 #2C229B
split-complementary
#9B2255 #229B2C #22929B
monochromatic
#370C1E #691739 #9B2255 #CD2D71 #DB5C92

Accessibility & contrast

On white

7.63
#9B2255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9B2255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2255
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2255#FFFFFF#000000##FFFFFF
##9B22551.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4556
Deuteranopia (green-blind)
#5F5C52
Tritanopia (blue-blind)
#A80938
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9b2255;
/* rgb */ color: rgb(155, 34, 85);
/* oklch */ color: oklch(46.5% 0.161 0.5);
Tailwind
colors: {
  custom: {
    50: '#be6a84',
    500: '#9b2255',
    950: '#000000',
  },
}
SCSS
$custom: #9b2255;
$custom-light: #be6a84;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2255",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 334.711,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46537,
    "c": 0.16083,
    "h": 0.5
  },
  "luminance": 0.08768
}

Semantic roles & 50–950 ramp

primary
#9B2255
secondary
#59C094
accent
#E7A141
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9B2255

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

Preview Lab → · Contrast checker → · Palette generator →

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