#9B225B#9B225B

#9B225B is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.7% C 0.163 H 357.2°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#9B225B
RGBrgb(155, 34, 91)
HSLhsl(332, 64%, 37%)
HSVhsv(332, 78%, 61%)
CMYKcmyk(0%, 78.1%, 41.3%, 39.2%)
CIE-LABlab(35.73, 52.97, -3.29)
CIE-LCHlch(35.73, 53.07, 356.45°)
OKLaboklab(46.74% 0.1628 -0.008)
OKLCHoklch(46.74% 0.163 357.2)
XYZxyz(15.9791, 8.8700, 10.7661)
Luminance0.0887 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B225B #229B62
analogous
#9B2297 #9B225B #9B2622
triadic
#9B225B #5B9B22 #225B9B
tetradic
#9B225B #979B22 #229B62 #26229B
square
#9B225B #979B22 #229B62 #26229B
split-complementary
#9B225B #229B26 #22979B
monochromatic
#370C20 #69173E #9B225B #CD2D78 #DB5C98

Accessibility & contrast

On white

7.57
#9B225B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9B225B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B225B
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B225B#FFFFFF#000000##FFFFFF
##9B225B1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C465C
Deuteranopia (green-blind)
#5D5C58
Tritanopia (blue-blind)
#A80F3B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9b225b;
/* rgb */ color: rgb(155, 34, 91);
/* oklch */ color: oklch(46.7% 0.163 357.2);
Tailwind
colors: {
  custom: {
    50: '#bd6a89',
    500: '#9b225b',
    950: '#000000',
  },
}
SCSS
$custom: #9b225b;
$custom-light: #bd6a89;
$custom-dark: #000000;
JSON
{
  "hex": "#9b225b",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 91
  },
  "hsl": {
    "h": 331.736,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46743,
    "c": 0.16302,
    "h": 357.2
  },
  "luminance": 0.08868
}

Semantic roles & 50–950 ramp

primary
#9B225B
secondary
#59C08F
accent
#E79941
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9B225B

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

Preview Lab → · Contrast checker → · Palette generator →

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