#9E2058#9E2058

#9E2058 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.166 H 359.4°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#9E2058
RGBrgb(158, 32, 88)
HSLhsl(333, 66%, 37%)
HSVhsv(333, 80%, 62%)
CMYKcmyk(0%, 79.7%, 44.3%, 38%)
CIE-LABlab(36.00, 54.10, -0.90)
CIE-LCHlch(36.00, 54.11, 359.05°)
OKLaboklab(47.01% 0.1663 -0.0017)
OKLCHoklch(47.01% 0.166 359.4)
XYZxyz(16.3798, 9.0089, 10.1070)
Luminance0.0901 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2058 #209E66
analogous
#9E2097 #9E2058 #9E2720
triadic
#9E2058 #589E20 #20589E
tetradic
#9E2058 #979E20 #209E66 #27209E
square
#9E2058 #979E20 #209E66 #27209E
split-complementary
#9E2058 #209E27 #20979E
monochromatic
#380B1F #6B163C #9E2058 #D12A74 #DE5B95

Accessibility & contrast

On white

7.50
#9E2058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#9E2058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2058
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2058#FFFFFF#000000##FFFFFF
##9E20581.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4559
Deuteranopia (green-blind)
#605D55
Tritanopia (blue-blind)
#AC0339
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e2058;
/* rgb */ color: rgb(158, 32, 88);
/* oklch */ color: oklch(47.0% 0.166 359.4);
Tailwind
colors: {
  custom: {
    50: '#c06987',
    500: '#9e2058',
    950: '#000000',
  },
}
SCSS
$custom: #9e2058;
$custom-light: #c06987;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2058",
  "rgb": {
    "r": 158,
    "g": 32,
    "b": 88
  },
  "hsl": {
    "h": 333.333,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47013,
    "c": 0.16632,
    "h": 359.4
  },
  "luminance": 0.09007
}

Semantic roles & 50–950 ramp

primary
#9E2058
secondary
#58C293
accent
#E99D3F
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E2058

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

Preview Lab → · Contrast checker → · Palette generator →

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