#9B1852#9B1852

#9B1852 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.169 H 0.8°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#9B1852
RGBrgb(155, 24, 82)
HSLhsl(333, 73%, 35%)
HSVhsv(333, 85%, 61%)
CMYKcmyk(0%, 84.5%, 47.1%, 39.2%)
CIE-LABlab(34.46, 54.88, 0.66)
CIE-LCHlch(34.46, 54.88, 0.69°)
OKLaboklab(45.72% 0.1688 0.0023)
OKLCHoklch(45.72% 0.169 0.8)
XYZxyz(15.3685, 8.2332, 8.7609)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1852 #189B61
analogous
#9B1893 #9B1852 #9B1F18
triadic
#9B1852 #529B18 #18529B
tetradic
#9B1852 #939B18 #189B61 #1F189B
square
#9B1852 #939B18 #189B61 #1F189B
split-complementary
#9B1852 #189B1F #18939B
monochromatic
#31081A #661036 #9B1852 #D0206E #E34A8E

Accessibility & contrast

On white

7.94
#9B1852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#9B1852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1852
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1852#FFFFFF#000000##FFFFFF
##9B18521.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4153
Deuteranopia (green-blind)
#5D5A4F
Tritanopia (blue-blind)
#A90033
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9b1852;
/* rgb */ color: rgb(155, 24, 82);
/* oklch */ color: oklch(45.7% 0.169 0.8);
Tailwind
colors: {
  custom: {
    50: '#be6682',
    500: '#9b1852',
    950: '#000000',
  },
}
SCSS
$custom: #9b1852;
$custom-light: #be6682;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1852",
  "rgb": {
    "r": 155,
    "g": 24,
    "b": 82
  },
  "hsl": {
    "h": 333.435,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45719,
    "c": 0.1688,
    "h": 0.8
  },
  "luminance": 0.08231
}

Semantic roles & 50–950 ramp

primary
#9B1852
secondary
#4AC58E
accent
#F09E38
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9B1852

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

Preview Lab → · Contrast checker → · Palette generator →

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