#9E2F70#9E2F70

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

Color values

HEX#9E2F70
RGBrgb(158, 47, 112)
HSLhsl(325, 54%, 40%)
HSVhsv(325, 70%, 62%)
CMYKcmyk(0%, 70.3%, 29.1%, 38%)
CIE-LABlab(38.68, 51.67, -12.13)
CIE-LCHlch(38.68, 53.07, 346.79°)
OKLaboklab(49.25% 0.1572 -0.0318)
OKLCHoklch(49.25% 0.16 348.5)
XYZxyz(18.0425, 10.4739, 16.3976)
Luminance0.1047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F70 #2F9E5D
analogous
#942F9E #9E2F70 #9E2F38
triadic
#9E2F70 #709E2F #2F709E
tetradic
#9E2F70 #9E942F #2F9E5D #2F389E
square
#9E2F70 #9E942F #2F9E5D #2F389E
split-complementary
#9E2F70 #389E2F #2F9E94
monochromatic
#40132D #6F214F #9E2F70 #C74390 #D572AC

Accessibility & contrast

On white

6.79
#9E2F70 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9E2F70 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2F70
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F70#FFFFFF#000000##FFFFFF
##9E2F701.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4F72
Deuteranopia (green-blind)
#5E626D
Tritanopia (blue-blind)
#A92A4B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e2f70;
/* rgb */ color: rgb(158, 47, 112);
/* oklch */ color: oklch(49.3% 0.160 348.5);
Tailwind
colors: {
  custom: {
    50: '#be7199',
    500: '#9e2f70',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f70;
$custom-light: #be7199;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f70",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 112
  },
  "hsl": {
    "h": 324.865,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49254,
    "c": 0.16034,
    "h": 348.5
  },
  "luminance": 0.10472
}

Semantic roles & 50–950 ramp

primary
#9E2F70
secondary
#6CBD8D
accent
#DE874A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9E2F70

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

Preview Lab → · Contrast checker → · Palette generator →

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