#9B235B#9B235B

#9B235B is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.162 H 357.3°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#9B235B
RGBrgb(155, 35, 91)
HSLhsl(332, 63%, 37%)
HSVhsv(332, 77%, 61%)
CMYKcmyk(0%, 77.4%, 41.3%, 39.2%)
CIE-LABlab(35.85, 52.65, -3.12)
CIE-LCHlch(35.85, 52.75, 356.61°)
OKLaboklab(46.83% 0.1618 -0.0075)
OKLCHoklch(46.83% 0.162 357.3)
XYZxyz(16.0081, 8.9280, 10.7758)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B235B #239B63
analogous
#9B2397 #9B235B #9B2723
triadic
#9B235B #5B9B23 #235B9B
tetradic
#9B235B #979B23 #239B63 #27239B
square
#9B235B #979B23 #239B63 #27239B
split-complementary
#9B235B #239B27 #23979B
monochromatic
#370C20 #69183E #9B235B #CD2E78 #DB5E98

Accessibility & contrast

On white

7.54
#9B235B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#9B235B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B235B
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B235B#FFFFFF#000000##FFFFFF
##9B235B1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D465C
Deuteranopia (green-blind)
#5E5C58
Tritanopia (blue-blind)
#A8103C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9b235b;
/* rgb */ color: rgb(155, 35, 91);
/* oklch */ color: oklch(46.8% 0.162 357.3);
Tailwind
colors: {
  custom: {
    50: '#bd6a89',
    500: '#9b235b',
    950: '#000000',
  },
}
SCSS
$custom: #9b235b;
$custom-light: #bd6a89;
$custom-dark: #000000;
JSON
{
  "hex": "#9b235b",
  "rgb": {
    "r": 155,
    "g": 35,
    "b": 91
  },
  "hsl": {
    "h": 332,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46825,
    "c": 0.16198,
    "h": 357.3
  },
  "luminance": 0.08926
}

Semantic roles & 50–950 ramp

primary
#9B235B
secondary
#5ABF90
accent
#E69942
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9B235B

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

Preview Lab → · Contrast checker → · Palette generator →

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