#9B255C#9B255C

#9B255C is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.0% C 0.160 H 357.1°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#9B255C
RGBrgb(155, 37, 92)
HSLhsl(332, 61%, 38%)
HSVhsv(332, 76%, 61%)
CMYKcmyk(0%, 76.1%, 40.6%, 39.2%)
CIE-LABlab(36.11, 52.10, -3.37)
CIE-LCHlch(36.11, 52.21, 356.30°)
OKLaboklab(47.03% 0.16 -0.0082)
OKLCHoklch(47.03% 0.16 357.1)
XYZxyz(16.1120, 9.0664, 11.0247)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B255C #259B64
analogous
#9B2597 #9B255C #9B2925
triadic
#9B255C #5C9B25 #255C9B
tetradic
#9B255C #979B25 #259B64 #29259B
square
#9B255C #979B25 #259B64 #29259B
split-complementary
#9B255C #259B29 #25979B
monochromatic
#380D21 #6A193F #9B255C #CC3179 #D96199

Accessibility & contrast

On white

7.47
#9B255C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#9B255C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B255C
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B255C#FFFFFF#000000##FFFFFF
##9B255C1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E475D
Deuteranopia (green-blind)
#5E5D59
Tritanopia (blue-blind)
#A8153D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9b255c;
/* rgb */ color: rgb(155, 37, 92);
/* oklch */ color: oklch(47.0% 0.160 357.1);
Tailwind
colors: {
  custom: {
    50: '#bd6b8a',
    500: '#9b255c',
    950: '#000000',
  },
}
SCSS
$custom: #9b255c;
$custom-light: #bd6b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b255c",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 332.034,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47032,
    "c": 0.16024,
    "h": 357.1
  },
  "luminance": 0.09064
}

Semantic roles & 50–950 ramp

primary
#9B255C
secondary
#5DBF91
accent
#E59943
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9B255C

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

Preview Lab → · Contrast checker → · Palette generator →

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