#9E2071#9E2071

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

Color values

HEX#9E2071
RGBrgb(158, 32, 113)
HSLhsl(321, 66%, 37%)
HSVhsv(321, 80%, 62%)
CMYKcmyk(0%, 79.7%, 28.5%, 38%)
CIE-LABlab(36.92, 56.87, -15.44)
CIE-LCHlch(36.92, 58.92, 344.81°)
OKLaboklab(47.99% 0.1732 -0.0408)
OKLCHoklch(47.99% 0.178 346.7)
XYZxyz(17.5986, 9.4964, 16.5258)
Luminance0.0949 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2071 #209E4D
analogous
#8C209E #9E2071 #9E2032
triadic
#9E2071 #719E20 #20719E
tetradic
#9E2071 #9E8C20 #209E4D #20329E
square
#9E2071 #9E8C20 #209E4D #20329E
split-complementary
#9E2071 #329E20 #209E8C
monochromatic
#380B28 #6B164D #9E2071 #D12A95 #DE5BAF

Accessibility & contrast

On white

7.24
#9E2071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E2071
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2071#FFFFFF#000000##FFFFFF
##9E20711.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334973
Deuteranopia (green-blind)
#595F6E
Tritanopia (blue-blind)
#A91B46
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e2071;
/* rgb */ color: rgb(158, 32, 113);
/* oklch */ color: oklch(48.0% 0.178 346.7);
Tailwind
colors: {
  custom: {
    50: '#bf6a9a',
    500: '#9e2071',
    950: '#000000',
  },
}
SCSS
$custom: #9e2071;
$custom-light: #bf6a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2071",
  "rgb": {
    "r": 158,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 321.429,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47986,
    "c": 0.17793,
    "h": 346.7
  },
  "luminance": 0.09494
}

Semantic roles & 50–950 ramp

primary
#9E2071
secondary
#58C27E
accent
#E97C3F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E2071

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

Preview Lab → · Contrast checker → · Palette generator →

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