#9E2F5F#9E2F5F

#9E2F5F is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.6% C 0.152 H 357.9°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9E2F5F
RGBrgb(158, 47, 95)
HSLhsl(334, 54%, 40%)
HSVhsv(334, 70%, 62%)
CMYKcmyk(0%, 70.3%, 39.9%, 38%)
CIE-LABlab(38.08, 49.64, -2.32)
CIE-LCHlch(38.08, 49.69, 357.32°)
OKLaboklab(48.61% 0.1521 -0.0055)
OKLCHoklch(48.61% 0.152 357.9)
XYZxyz(17.1838, 10.1304, 11.8747)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F5F #2F9E6E
analogous
#9E2F96 #9E2F5F #9E372F
triadic
#9E2F5F #5F9E2F #2F5F9E
tetradic
#9E2F5F #969E2F #2F9E6E #372F9E
square
#9E2F5F #969E2F #2F9E6E #372F9E
split-complementary
#9E2F5F #2F9E37 #2F969E
monochromatic
#401326 #6F2143 #9E2F5F #C7437C #D5729D

Accessibility & contrast

On white

6.94
#9E2F5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9E2F5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2F5F
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F5F#FFFFFF#000000##FFFFFF
##9E2F5F1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444C60
Deuteranopia (green-blind)
#63615C
Tritanopia (blue-blind)
#AB2343
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e2f5f;
/* rgb */ color: rgb(158, 47, 95);
/* oklch */ color: oklch(48.6% 0.152 357.9);
Tailwind
colors: {
  custom: {
    50: '#bf708c',
    500: '#9e2f5f',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f5f;
$custom-light: #bf708c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f5f",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 95
  },
  "hsl": {
    "h": 334.054,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48611,
    "c": 0.15221,
    "h": 357.9
  },
  "luminance": 0.10128
}

Semantic roles & 50–950 ramp

primary
#9E2F5F
secondary
#6CBD9A
accent
#DE9E4A
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9E2F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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