#9B285F#9B285F

#9B285F is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.4% C 0.158 H 355.9°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#9B285F
RGBrgb(155, 40, 95)
HSLhsl(331, 59%, 38%)
HSVhsv(331, 74%, 61%)
CMYKcmyk(0%, 74.2%, 38.7%, 39.2%)
CIE-LABlab(36.58, 51.39, -4.59)
CIE-LCHlch(36.58, 51.59, 354.90°)
OKLaboklab(47.41% 0.1577 -0.0114)
OKLCHoklch(47.41% 0.158 355.9)
XYZxyz(16.3430, 9.3144, 11.7615)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B285F #289B64
analogous
#9B2898 #9B285F #9B2A28
triadic
#9B285F #5F9B28 #285F9B
tetradic
#9B285F #989B28 #289B64 #2A289B
square
#9B285F #989B28 #289B64 #2A289B
split-complementary
#9B285F #289B2A #28989B
monochromatic
#3A0F23 #6A1B41 #9B285F #CB357D #D7669C

Accessibility & contrast

On white

7.34
#9B285F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9B285F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B285F
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B285F#FFFFFF#000000##FFFFFF
##9B285F1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4860
Deuteranopia (green-blind)
#5E5E5C
Tritanopia (blue-blind)
#A81B40
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b285f;
/* rgb */ color: rgb(155, 40, 95);
/* oklch */ color: oklch(47.4% 0.158 355.9);
Tailwind
colors: {
  custom: {
    50: '#bd6c8c',
    500: '#9b285f',
    950: '#000000',
  },
}
SCSS
$custom: #9b285f;
$custom-light: #bd6c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b285f",
  "rgb": {
    "r": 155,
    "g": 40,
    "b": 95
  },
  "hsl": {
    "h": 331.304,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4741,
    "c": 0.15809,
    "h": 355.9
  },
  "luminance": 0.09312
}

Semantic roles & 50–950 ramp

primary
#9B285F
secondary
#61BD91
accent
#E29746
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9B285F

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

Preview Lab → · Contrast checker → · Palette generator →

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