#9E2045#9E2045

#9E2045 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.162 H 9.6°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#9E2045
RGBrgb(158, 32, 69)
HSLhsl(342, 66%, 37%)
HSVhsv(342, 80%, 62%)
CMYKcmyk(0%, 79.7%, 56.3%, 38%)
CIE-LABlab(35.47, 52.46, 10.62)
CIE-LCHlch(35.47, 53.52, 11.44°)
OKLaboklab(46.45% 0.1593 0.0268)
OKLCHoklch(46.45% 0.162 9.6)
XYZxyz(15.6928, 8.7341, 6.4886)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2045 #209E79
analogous
#9E2084 #9E2045 #9E3A20
triadic
#9E2045 #459E20 #20459E
tetradic
#9E2045 #849E20 #209E79 #3A209E
square
#9E2045 #849E20 #209E79 #3A209E
split-complementary
#9E2045 #209E3A #20849E
monochromatic
#380B19 #6B162F #9E2045 #D12A5B #DE5B81

Accessibility & contrast

On white

7.65
#9E2045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9E2045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2045
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2045#FFFFFF#000000##FFFFFF
##9E20451.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424346
Deuteranopia (green-blind)
#635D42
Tritanopia (blue-blind)
#AD0030
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e2045;
/* rgb */ color: rgb(158, 32, 69);
/* oklch */ color: oklch(46.4% 0.162 9.6);
Tailwind
colors: {
  custom: {
    50: '#c16978',
    500: '#9e2045',
    950: '#000000',
  },
}
SCSS
$custom: #9e2045;
$custom-light: #c16978;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2045",
  "rgb": {
    "r": 158,
    "g": 32,
    "b": 69
  },
  "hsl": {
    "h": 342.381,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46446,
    "c": 0.16155,
    "h": 9.6
  },
  "luminance": 0.08732
}

Semantic roles & 50–950 ramp

primary
#9E2045
secondary
#58C2A3
accent
#E9B73F
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9E2045

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

Preview Lab → · Contrast checker → · Palette generator →

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