#9B2870#9B2870

#9B2870 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.1% C 0.167 H 346.8°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#9B2870
RGBrgb(155, 40, 112)
HSLhsl(322, 59%, 38%)
HSVhsv(322, 74%, 61%)
CMYKcmyk(0%, 74.2%, 27.7%, 39.2%)
CIE-LABlab(37.22, 53.42, -14.40)
CIE-LCHlch(37.22, 55.33, 344.91°)
OKLaboklab(48.09% 0.1623 -0.0381)
OKLCHoklch(48.09% 0.167 346.8)
XYZxyz(17.2018, 9.6579, 16.2844)
Luminance0.0966 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2870 #289B53
analogous
#8C289B #9B2870 #9B2836
triadic
#9B2870 #709B28 #28709B
tetradic
#9B2870 #9B8C28 #289B53 #28369B
square
#9B2870 #9B8C28 #289B53 #28369B
split-complementary
#9B2870 #369B28 #289B8C
monochromatic
#3A0F2A #6A1B4D #9B2870 #CB3593 #D766AD

Accessibility & contrast

On white

7.16
#9B2870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9B2870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2870
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2870#FFFFFF#000000##FFFFFF
##9B28701.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384B72
Deuteranopia (green-blind)
#5A5F6D
Tritanopia (blue-blind)
#A62448
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b2870;
/* rgb */ color: rgb(155, 40, 112);
/* oklch */ color: oklch(48.1% 0.167 346.8);
Tailwind
colors: {
  custom: {
    50: '#bc6d99',
    500: '#9b2870',
    950: '#000000',
  },
}
SCSS
$custom: #9b2870;
$custom-light: #bc6d99;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2870",
  "rgb": {
    "r": 155,
    "g": 40,
    "b": 112
  },
  "hsl": {
    "h": 322.435,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48087,
    "c": 0.16671,
    "h": 346.8
  },
  "luminance": 0.09656
}

Semantic roles & 50–950 ramp

primary
#9B2870
secondary
#61BD84
accent
#E28046
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9B2870

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

Preview Lab → · Contrast checker → · Palette generator →

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