#9E2F7E#9E2F7E

#9E2F7E is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.169 H 341.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9E2F7E
RGBrgb(158, 47, 126)
HSLhsl(317, 54%, 40%)
HSVhsv(317, 70%, 62%)
CMYKcmyk(0%, 70.3%, 20.3%, 38%)
CIE-LABlab(39.26, 53.57, -19.96)
CIE-LCHlch(39.26, 57.17, 339.56°)
OKLaboklab(49.87% 0.1602 -0.0536)
OKLCHoklch(49.87% 0.169 341.5)
XYZxyz(18.8835, 10.8103, 20.8267)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F7E #2F9E4F
analogous
#862F9E #9E2F7E #9E2F47
triadic
#9E2F7E #7E9E2F #2F7E9E
tetradic
#9E2F7E #9E862F #2F9E4F #2F479E
square
#9E2F7E #9E862F #2F9E4F #2F479E
split-complementary
#9E2F7E #479E2F #2F9E86
monochromatic
#401333 #6F2158 #9E2F7E #C743A1 #D572B9

Accessibility & contrast

On white

6.64
#9E2F7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9E2F7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2F7E
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F7E#FFFFFF#000000##FFFFFF
##9E2F7E1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385180
Deuteranopia (green-blind)
#5A637B
Tritanopia (blue-blind)
#A83152
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e2f7e;
/* rgb */ color: rgb(158, 47, 126);
/* oklch */ color: oklch(49.9% 0.169 341.5);
Tailwind
colors: {
  custom: {
    50: '#be71a3',
    500: '#9e2f7e',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f7e;
$custom-light: #be71a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f7e",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 317.297,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49867,
    "c": 0.16896,
    "h": 341.5
  },
  "luminance": 0.10808
}

Semantic roles & 50–950 ramp

primary
#9E2F7E
secondary
#6CBD83
accent
#DE754A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9E2F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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