#9E2F6F#9E2F6F

#9E2F6F is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.160 H 349.1°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9E2F6F
RGBrgb(158, 47, 111)
HSLhsl(325, 54%, 40%)
HSVhsv(325, 70%, 62%)
CMYKcmyk(0%, 70.3%, 29.7%, 38%)
CIE-LABlab(38.64, 51.54, -11.56)
CIE-LCHlch(38.64, 52.82, 347.36°)
OKLaboklab(49.21% 0.1569 -0.0303)
OKLCHoklch(49.21% 0.16 349.1)
XYZxyz(17.9872, 10.4518, 16.1060)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F6F #2F9E5E
analogous
#952F9E #9E2F6F #9E2F38
triadic
#9E2F6F #6F9E2F #2F6F9E
tetradic
#9E2F6F #9E952F #2F9E5E #2F389E
square
#9E2F6F #9E952F #2F9E5E #2F389E
split-complementary
#9E2F6F #389E2F #2F9E95
monochromatic
#40132D #6F214E #9E2F6F #C7438F #D572AB

Accessibility & contrast

On white

6.80
#9E2F6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E2F6F
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F6F#FFFFFF#000000##FFFFFF
##9E2F6F1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e2f6f;
/* rgb */ color: rgb(158, 47, 111);
/* oklch */ color: oklch(49.2% 0.160 349.1);
Tailwind
colors: {
  custom: {
    50: '#be7098',
    500: '#9e2f6f',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f6f;
$custom-light: #be7098;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f6f",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 111
  },
  "hsl": {
    "h": 325.405,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49213,
    "c": 0.15979,
    "h": 349.1
  },
  "luminance": 0.1045
}

Semantic roles & 50–950 ramp

primary
#9E2F6F
secondary
#6CBD8E
accent
#DE894A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9E2F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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