#9E2072#9E2072

#9E2072 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.178 H 346.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9E2072
RGBrgb(158, 32, 114)
HSLhsl(321, 66%, 37%)
HSVhsv(321, 80%, 62%)
CMYKcmyk(0%, 79.7%, 27.8%, 38%)
CIE-LABlab(36.96, 56.99, -16.00)
CIE-LCHlch(36.96, 59.19, 344.32°)
OKLaboklab(48.03% 0.1734 -0.0424)
OKLCHoklch(48.03% 0.179 346.3)
XYZxyz(17.6552, 9.5190, 16.8239)
Luminance0.0952 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2072 #209E4C
analogous
#8B209E #9E2072 #9E2033
triadic
#9E2072 #729E20 #20729E
tetradic
#9E2072 #9E8B20 #209E4C #20339E
square
#9E2072 #9E8B20 #209E4C #20339E
split-complementary
#9E2072 #339E20 #209E8B
monochromatic
#380B29 #6B164D #9E2072 #D12A97 #DE5BB0

Accessibility & contrast

On white

7.23
#9E2072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9E2072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2072
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2072#FFFFFF#000000##FFFFFF
##9E20721.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334974
Deuteranopia (green-blind)
#595F6F
Tritanopia (blue-blind)
#A91C47
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e2072;
/* rgb */ color: rgb(158, 32, 114);
/* oklch */ color: oklch(48.0% 0.178 346.3);
Tailwind
colors: {
  custom: {
    50: '#bf6a9a',
    500: '#9e2072',
    950: '#000000',
  },
}
SCSS
$custom: #9e2072;
$custom-light: #bf6a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2072",
  "rgb": {
    "r": 158,
    "g": 32,
    "b": 114
  },
  "hsl": {
    "h": 320.952,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4803,
    "c": 0.1785,
    "h": 346.3
  },
  "luminance": 0.09517
}

Semantic roles & 50–950 ramp

primary
#9E2072
secondary
#58C27D
accent
#E97A3F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E2072

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

Preview Lab → · Contrast checker → · Palette generator →

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