#9B1940#9B1940

#9B1940 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.3% C 0.164 H 10.4°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#9B1940
RGBrgb(155, 25, 64)
HSLhsl(342, 72%, 35%)
HSVhsv(342, 84%, 61%)
CMYKcmyk(0%, 83.9%, 58.7%, 39.2%)
CIE-LABlab(34.06, 53.18, 11.83)
CIE-LCHlch(34.06, 54.48, 12.55°)
OKLaboklab(45.26% 0.1612 0.0296)
OKLCHoklch(45.26% 0.164 10.4)
XYZxyz(14.7921, 8.0362, 5.6217)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1940 #199B74
analogous
#9B1981 #9B1940 #9B3319
triadic
#9B1940 #409B19 #19409B
tetradic
#9B1940 #819B19 #199B74 #33199B
square
#9B1940 #819B19 #199B74 #33199B
split-complementary
#9B1940 #199B33 #19819B
monochromatic
#320814 #66112A #9B1940 #D02256 #E24C79

Accessibility & contrast

On white

8.06
#9B1940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#9B1940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1940
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1940#FFFFFF#000000##FFFFFF
##9B19401.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b1940;
/* rgb */ color: rgb(155, 25, 64);
/* oklch */ color: oklch(45.3% 0.164 10.4);
Tailwind
colors: {
  custom: {
    50: '#bf6674',
    500: '#9b1940',
    950: '#000000',
  },
}
SCSS
$custom: #9b1940;
$custom-light: #bf6674;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1940",
  "rgb": {
    "r": 155,
    "g": 25,
    "b": 64
  },
  "hsl": {
    "h": 342,
    "s": 72.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45261,
    "c": 0.1639,
    "h": 10.4
  },
  "luminance": 0.08034
}

Semantic roles & 50–950 ramp

primary
#9B1940
secondary
#4CC4A0
accent
#EFB839
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #9B1940

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

Preview Lab → · Contrast checker → · Palette generator →

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