#9B1842#9B1842

#9B1842 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.2% C 0.165 H 9.2°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#9B1842
RGBrgb(155, 24, 66)
HSLhsl(341, 73%, 35%)
HSVhsv(341, 85%, 61%)
CMYKcmyk(0%, 84.5%, 57.4%, 39.2%)
CIE-LABlab(34.02, 53.57, 10.47)
CIE-LCHlch(34.02, 54.59, 11.06°)
OKLaboklab(45.25% 0.1628 0.0264)
OKLCHoklch(45.25% 0.165 9.2)
XYZxyz(14.8291, 8.0174, 5.9199)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1842 #189B71
analogous
#9B1884 #9B1842 #9B2F18
triadic
#9B1842 #429B18 #18429B
tetradic
#9B1842 #849B18 #189B71 #2F189B
square
#9B1842 #849B18 #189B71 #2F189B
split-complementary
#9B1842 #189B2F #18849B
monochromatic
#310815 #66102B #9B1842 #D02059 #E34A7B

Accessibility & contrast

On white

8.07
#9B1842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#9B1842 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1842
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1842#FFFFFF#000000##FFFFFF
##9B18421.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3F43
Deuteranopia (green-blind)
#60593F
Tritanopia (blue-blind)
#AA002B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9b1842;
/* rgb */ color: rgb(155, 24, 66);
/* oklch */ color: oklch(45.2% 0.165 9.2);
Tailwind
colors: {
  custom: {
    50: '#bf6576',
    500: '#9b1842',
    950: '#000000',
  },
}
SCSS
$custom: #9b1842;
$custom-light: #bf6576;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1842",
  "rgb": {
    "r": 155,
    "g": 24,
    "b": 66
  },
  "hsl": {
    "h": 340.763,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45248,
    "c": 0.16494,
    "h": 9.2
  },
  "luminance": 0.08015
}

Semantic roles & 50–950 ramp

primary
#9B1842
secondary
#4AC59D
accent
#F0B538
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #9B1842

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

Preview Lab → · Contrast checker → · Palette generator →

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