#9E2F72#9E2F72

#9E2F72 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.3% C 0.161 H 347.5°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9E2F72
RGBrgb(158, 47, 114)
HSLhsl(324, 54%, 40%)
HSVhsv(324, 70%, 62%)
CMYKcmyk(0%, 70.3%, 27.8%, 38%)
CIE-LABlab(38.76, 51.93, -13.26)
CIE-LCHlch(38.76, 53.59, 345.67°)
OKLaboklab(49.34% 0.1577 -0.0349)
OKLCHoklch(49.34% 0.161 347.5)
XYZxyz(18.1551, 10.5190, 16.9906)
Luminance0.1052 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F72 #2F9E5B
analogous
#922F9E #9E2F72 #9E2F3A
triadic
#9E2F72 #729E2F #2F729E
tetradic
#9E2F72 #9E922F #2F9E5B #2F3A9E
square
#9E2F72 #9E922F #2F9E5B #2F3A9E
split-complementary
#9E2F72 #3A9E2F #2F9E92
monochromatic
#40132E #6F2150 #9E2F72 #C74393 #D572AE

Accessibility & contrast

On white

6.77
#9E2F72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9E2F72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2F72
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F72#FFFFFF#000000##FFFFFF
##9E2F721.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4F74
Deuteranopia (green-blind)
#5E626F
Tritanopia (blue-blind)
#A92B4C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e2f72;
/* rgb */ color: rgb(158, 47, 114);
/* oklch */ color: oklch(49.3% 0.161 347.5);
Tailwind
colors: {
  custom: {
    50: '#be719a',
    500: '#9e2f72',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f72;
$custom-light: #be719a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f72",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 323.784,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49337,
    "c": 0.16148,
    "h": 347.5
  },
  "luminance": 0.10517
}

Semantic roles & 50–950 ramp

primary
#9E2F72
secondary
#6CBD8C
accent
#DE854A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2F72

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

Preview Lab → · Contrast checker → · Palette generator →

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