#9B1848#9B1848

#9B1848 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.166 H 6.1°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#9B1848
RGBrgb(155, 24, 72)
HSLhsl(338, 73%, 35%)
HSVhsv(338, 85%, 61%)
CMYKcmyk(0%, 84.5%, 53.5%, 39.2%)
CIE-LABlab(34.17, 54.03, 6.77)
CIE-LCHlch(34.17, 54.45, 7.14°)
OKLaboklab(45.41% 0.1651 0.0176)
OKLCHoklch(45.41% 0.166 6.1)
XYZxyz(15.0153, 8.0919, 6.9009)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1848 #189B6B
analogous
#9B188A #9B1848 #9B2918
triadic
#9B1848 #489B18 #18489B
tetradic
#9B1848 #8A9B18 #189B6B #29189B
square
#9B1848 #8A9B18 #189B6B #29189B
split-complementary
#9B1848 #189B29 #188A9B
monochromatic
#310817 #66102F #9B1848 #D02061 #E34A82

Accessibility & contrast

On white

8.02
#9B1848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#9B1848 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1848
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1848#FFFFFF#000000##FFFFFF
##9B18481.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4049
Deuteranopia (green-blind)
#5F5945
Tritanopia (blue-blind)
#A9002E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9b1848;
/* rgb */ color: rgb(155, 24, 72);
/* oklch */ color: oklch(45.4% 0.166 6.1);
Tailwind
colors: {
  custom: {
    50: '#bf667a',
    500: '#9b1848',
    950: '#000000',
  },
}
SCSS
$custom: #9b1848;
$custom-light: #bf667a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1848",
  "rgb": {
    "r": 155,
    "g": 24,
    "b": 72
  },
  "hsl": {
    "h": 338.015,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45412,
    "c": 0.16607,
    "h": 6.1
  },
  "luminance": 0.0809
}

Semantic roles & 50–950 ramp

primary
#9B1848
secondary
#4AC598
accent
#F0AC38
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9B1848

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

Preview Lab → · Contrast checker → · Palette generator →

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