#9E1845#9E1845

#9E1845 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.168 H 8.3°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#9E1845
RGBrgb(158, 24, 69)
HSLhsl(340, 74%, 36%)
HSVhsv(340, 85%, 62%)
CMYKcmyk(0%, 84.8%, 56.3%, 38%)
CIE-LABlab(34.71, 54.61, 9.57)
CIE-LCHlch(34.71, 55.44, 9.94°)
OKLaboklab(45.89% 0.1663 0.0243)
OKLCHoklch(45.89% 0.168 8.3)
XYZxyz(15.5029, 8.3543, 6.4253)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1845 #189E71
analogous
#9E1888 #9E1845 #9E2E18
triadic
#9E1845 #459E18 #18459E
tetradic
#9E1845 #889E18 #189E71 #2E189E
square
#9E1845 #889E18 #189E71 #2E189E
split-complementary
#9E1845 #189E2E #18889E
monochromatic
#340817 #69102E #9E1845 #D3205C #E44D7F

Accessibility & contrast

On white

7.86
#9E1845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#9E1845 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1845
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1845#FFFFFF#000000##FFFFFF
##9E18451.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4146
Deuteranopia (green-blind)
#615B42
Tritanopia (blue-blind)
#AD002D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1845;
/* rgb */ color: rgb(158, 24, 69);
/* oklch */ color: oklch(45.9% 0.168 8.3);
Tailwind
colors: {
  custom: {
    50: '#c16678',
    500: '#9e1845',
    950: '#000000',
  },
}
SCSS
$custom: #9e1845;
$custom-light: #c16678;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1845",
  "rgb": {
    "r": 158,
    "g": 24,
    "b": 69
  },
  "hsl": {
    "h": 339.851,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45889,
    "c": 0.16803,
    "h": 8.3
  },
  "luminance": 0.08352
}

Semantic roles & 50–950 ramp

primary
#9E1845
secondary
#4CC69D
accent
#F0B238
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9E1845

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

Preview Lab → · Contrast checker → · Palette generator →

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