#9E2F74#9E2F74

#9E2F74 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.4% C 0.163 H 346.5°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9E2F74
RGBrgb(158, 47, 116)
HSLhsl(323, 54%, 40%)
HSVhsv(323, 70%, 62%)
CMYKcmyk(0%, 70.3%, 26.6%, 38%)
CIE-LABlab(38.84, 52.19, -14.39)
CIE-LCHlch(38.84, 54.14, 344.58°)
OKLaboklab(49.42% 0.1581 -0.0381)
OKLCHoklch(49.42% 0.163 346.5)
XYZxyz(18.2702, 10.5650, 17.5967)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F74 #2F9E59
analogous
#912F9E #9E2F74 #9E2F3C
triadic
#9E2F74 #749E2F #2F749E
tetradic
#9E2F74 #9E912F #2F9E59 #2F3C9E
square
#9E2F74 #9E912F #2F9E59 #2F3C9E
split-complementary
#9E2F74 #3C9E2F #2F9E91
monochromatic
#40132F #6F2151 #9E2F74 #C74395 #D572B0

Accessibility & contrast

On white

6.75
#9E2F74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9E2F74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2F74
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F74#FFFFFF#000000##FFFFFF
##9E2F741.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4F76
Deuteranopia (green-blind)
#5D6271
Tritanopia (blue-blind)
#A92C4D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e2f74;
/* rgb */ color: rgb(158, 47, 116);
/* oklch */ color: oklch(49.4% 0.163 346.5);
Tailwind
colors: {
  custom: {
    50: '#be719c',
    500: '#9e2f74',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f74;
$custom-light: #be719c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f74",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 322.703,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49421,
    "c": 0.16265,
    "h": 346.5
  },
  "luminance": 0.10563
}

Semantic roles & 50–950 ramp

primary
#9E2F74
secondary
#6CBD8B
accent
#DE824A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2F74

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

Preview Lab → · Contrast checker → · Palette generator →

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