#9E1B45#9E1B45

#9E1B45 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.166 H 8.7°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#9E1B45
RGBrgb(158, 27, 69)
HSLhsl(341, 71%, 36%)
HSVhsv(341, 83%, 62%)
CMYKcmyk(0%, 82.9%, 56.3%, 38%)
CIE-LABlab(34.97, 53.86, 9.93)
CIE-LCHlch(34.97, 54.77, 10.45°)
OKLaboklab(46.08% 0.1638 0.0252)
OKLCHoklch(46.08% 0.166 8.7)
XYZxyz(15.5682, 8.4849, 6.4471)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B45 #1B9E74
analogous
#9E1B87 #9E1B45 #9E321B
triadic
#9E1B45 #459E1B #1B459E
tetradic
#9E1B45 #879E1B #1B9E74 #321B9E
square
#9E1B45 #879E1B #1B9E74 #321B9E
split-complementary
#9E1B45 #1B9E32 #1B879E
monochromatic
#350917 #6A122E #9E1B45 #D2245C #E15280

Accessibility & contrast

On white

7.79
#9E1B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9E1B45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1B45
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B45#FFFFFF#000000##FFFFFF
##9E1B451.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404246
Deuteranopia (green-blind)
#625C42
Tritanopia (blue-blind)
#AD002E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1b45;
/* rgb */ color: rgb(158, 27, 69);
/* oklch */ color: oklch(46.1% 0.166 8.7);
Tailwind
colors: {
  custom: {
    50: '#c16778',
    500: '#9e1b45',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b45;
$custom-light: #c16778;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b45",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 69
  },
  "hsl": {
    "h": 340.763,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46082,
    "c": 0.16576,
    "h": 8.7
  },
  "luminance": 0.08483
}

Semantic roles & 50–950 ramp

primary
#9E1B45
secondary
#51C49F
accent
#EEB43A
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9E1B45

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

Preview Lab → · Contrast checker → · Palette generator →

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