#9B2857#9B2857

#9B2857 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.1% C 0.155 H 0.4°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#9B2857
RGBrgb(155, 40, 87)
HSLhsl(335, 59%, 38%)
HSVhsv(335, 74%, 61%)
CMYKcmyk(0%, 74.2%, 43.9%, 39.2%)
CIE-LABlab(36.32, 50.54, 0.14)
CIE-LCHlch(36.32, 50.54, 0.16°)
OKLaboklab(47.13% 0.155 0.001)
OKLCHoklch(47.13% 0.155 0.4)
XYZxyz(15.9979, 9.1763, 9.9437)
Luminance0.0917 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2857 #289B6C
analogous
#9B2890 #9B2857 #9B3228
triadic
#9B2857 #579B28 #28579B
tetradic
#9B2857 #909B28 #289B6C #32289B
square
#9B2857 #909B28 #289B6C #32289B
split-complementary
#9B2857 #289B32 #28909B
monochromatic
#3A0F20 #6A1B3C #9B2857 #CB3572 #D76694

Accessibility & contrast

On white

7.41
#9B2857 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#9B2857 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2857
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2857#FFFFFF#000000##FFFFFF
##9B28571.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414758
Deuteranopia (green-blind)
#605D54
Tritanopia (blue-blind)
#A8163C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9b2857;
/* rgb */ color: rgb(155, 40, 87);
/* oklch */ color: oklch(47.1% 0.155 0.4);
Tailwind
colors: {
  custom: {
    50: '#bd6c86',
    500: '#9b2857',
    950: '#000000',
  },
}
SCSS
$custom: #9b2857;
$custom-light: #bd6c86;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2857",
  "rgb": {
    "r": 155,
    "g": 40,
    "b": 87
  },
  "hsl": {
    "h": 335.478,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47133,
    "c": 0.15503,
    "h": 0.4
  },
  "luminance": 0.09174
}

Semantic roles & 50–950 ramp

primary
#9B2857
secondary
#61BD98
accent
#E2A246
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9B2857

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

Preview Lab → · Contrast checker → · Palette generator →

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