#9B2865#9B2865

#9B2865 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.161 H 352.6°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#9B2865
RGBrgb(155, 40, 101)
HSLhsl(328, 59%, 38%)
HSVhsv(328, 74%, 61%)
CMYKcmyk(0%, 74.2%, 34.8%, 39.2%)
CIE-LABlab(36.80, 52.07, -8.09)
CIE-LCHlch(36.80, 52.69, 351.17°)
OKLaboklab(47.64% 0.1595 -0.0208)
OKLCHoklch(47.64% 0.161 352.6)
XYZxyz(16.6263, 9.4277, 13.2536)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2865 #289B5E
analogous
#97289B #9B2865 #9B282B
triadic
#9B2865 #659B28 #28659B
tetradic
#9B2865 #9B9728 #289B5E #282B9B
square
#9B2865 #9B9728 #289B5E #282B9B
split-complementary
#9B2865 #2B9B28 #289B97
monochromatic
#3A0F26 #6A1B45 #9B2865 #CB3585 #D766A2

Accessibility & contrast

On white

7.28
#9B2865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9B2865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2865
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2865#FFFFFF#000000##FFFFFF
##9B28651.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4967
Deuteranopia (green-blind)
#5D5E62
Tritanopia (blue-blind)
#A71E43
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b2865;
/* rgb */ color: rgb(155, 40, 101);
/* oklch */ color: oklch(47.6% 0.161 352.6);
Tailwind
colors: {
  custom: {
    50: '#bd6d90',
    500: '#9b2865',
    950: '#000000',
  },
}
SCSS
$custom: #9b2865;
$custom-light: #bd6d90;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2865",
  "rgb": {
    "r": 155,
    "g": 40,
    "b": 101
  },
  "hsl": {
    "h": 328.174,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47636,
    "c": 0.16083,
    "h": 352.6
  },
  "luminance": 0.09426
}

Semantic roles & 50–950 ramp

primary
#9B2865
secondary
#61BD8D
accent
#E28F46
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9B2865

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

Preview Lab → · Contrast checker → · Palette generator →

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