#9E2062#9E2062

#9E2062 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.170 H 354.2°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#9E2062
RGBrgb(158, 32, 98)
HSLhsl(329, 66%, 37%)
HSVhsv(329, 80%, 62%)
CMYKcmyk(0%, 79.7%, 38%, 38%)
CIE-LABlab(36.34, 55.13, -6.81)
CIE-LCHlch(36.34, 55.55, 352.96°)
OKLaboklab(47.37% 0.1694 -0.0173)
OKLCHoklch(47.37% 0.17 354.2)
XYZxyz(16.8228, 9.1861, 12.4401)
Luminance0.0918 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2062 #209E5C
analogous
#9B209E #9E2062 #9E2023
triadic
#9E2062 #629E20 #20629E
tetradic
#9E2062 #9E9B20 #209E5C #20239E
square
#9E2062 #9E9B20 #209E5C #20239E
split-complementary
#9E2062 #239E20 #209E9B
monochromatic
#380B23 #6B1642 #9E2062 #D12A82 #DE5B9F

Accessibility & contrast

On white

7.40
#9E2062 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9E2062 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2062
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2062#FFFFFF#000000##FFFFFF
##9E20621.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4764
Deuteranopia (green-blind)
#5D5E5F
Tritanopia (blue-blind)
#AB0F3E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e2062;
/* rgb */ color: rgb(158, 32, 98);
/* oklch */ color: oklch(47.4% 0.170 354.2);
Tailwind
colors: {
  custom: {
    50: '#bf6a8e',
    500: '#9e2062',
    950: '#000000',
  },
}
SCSS
$custom: #9e2062;
$custom-light: #bf6a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2062",
  "rgb": {
    "r": 158,
    "g": 32,
    "b": 98
  },
  "hsl": {
    "h": 328.571,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47372,
    "c": 0.17032,
    "h": 354.2
  },
  "luminance": 0.09184
}

Semantic roles & 50–950 ramp

primary
#9E2062
secondary
#58C28A
accent
#E9903F
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9E2062

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

Preview Lab → · Contrast checker → · Palette generator →

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