#9B255E#9B255E

#9B255E is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.161 H 356.0°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#9B255E
RGBrgb(155, 37, 94)
HSLhsl(331, 61%, 38%)
HSVhsv(331, 76%, 61%)
CMYKcmyk(0%, 76.1%, 39.4%, 39.2%)
CIE-LABlab(36.18, 52.31, -4.55)
CIE-LCHlch(36.18, 52.51, 355.03°)
OKLaboklab(47.1% 0.1607 -0.0113)
OKLCHoklch(47.1% 0.161 356)
XYZxyz(16.2006, 9.1019, 11.4912)
Luminance0.0910 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B255E #259B62
analogous
#9B2599 #9B255E #9B2725
triadic
#9B255E #5E9B25 #255E9B
tetradic
#9B255E #999B25 #259B62 #27259B
square
#9B255E #999B25 #259B62 #27259B
split-complementary
#9B255E #259B27 #25999B
monochromatic
#380D22 #6A1940 #9B255E #CC317C #D9619B

Accessibility & contrast

On white

7.45
#9B255E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9B255E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B255E
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B255E#FFFFFF#000000##FFFFFF
##9B255E1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D475F
Deuteranopia (green-blind)
#5E5D5B
Tritanopia (blue-blind)
#A8163E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9b255e;
/* rgb */ color: rgb(155, 37, 94);
/* oklch */ color: oklch(47.1% 0.161 356.0);
Tailwind
colors: {
  custom: {
    50: '#bd6b8b',
    500: '#9b255e',
    950: '#000000',
  },
}
SCSS
$custom: #9b255e;
$custom-light: #bd6b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#9b255e",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 331.017,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47104,
    "c": 0.16106,
    "h": 356
  },
  "luminance": 0.091
}

Semantic roles & 50–950 ramp

primary
#9B255E
secondary
#5DBF90
accent
#E59743
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9B255E

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

Preview Lab → · Contrast checker → · Palette generator →

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