#9E2F4E#9E2F4E

#9E2F4E is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.1% C 0.147 H 7.9°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9E2F4E
RGBrgb(158, 47, 78)
HSLhsl(343, 54%, 40%)
HSVhsv(343, 70%, 62%)
CMYKcmyk(0%, 70.3%, 50.6%, 38%)
CIE-LABlab(37.58, 47.94, 7.78)
CIE-LCHlch(37.58, 48.57, 9.22°)
OKLaboklab(48.08% 0.1459 0.0202)
OKLCHoklch(48.08% 0.147 7.9)
XYZxyz(16.4936, 9.8544, 8.2398)
Luminance0.0985 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F4E #2F9E7F
analogous
#9E2F85 #9E2F4E #9E472F
triadic
#9E2F4E #4E9E2F #2F4E9E
tetradic
#9E2F4E #859E2F #2F9E7F #472F9E
square
#9E2F4E #859E2F #2F9E7F #472F9E
split-complementary
#9E2F4E #2F9E47 #2F859E
monochromatic
#40131F #6F2137 #9E2F4E #C74368 #D5728E

Accessibility & contrast

On white

7.07
#9E2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9E2F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2F4E
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F4E#FFFFFF#000000##FFFFFF
##9E2F4E1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494A4F
Deuteranopia (green-blind)
#66614B
Tritanopia (blue-blind)
#AC1B3B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e2f4e;
/* rgb */ color: rgb(158, 47, 78);
/* oklch */ color: oklch(48.1% 0.147 7.9);
Tailwind
colors: {
  custom: {
    50: '#c0707f',
    500: '#9e2f4e',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f4e;
$custom-light: #c0707f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f4e",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 343.243,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48083,
    "c": 0.14731,
    "h": 7.9
  },
  "luminance": 0.09852
}

Semantic roles & 50–950 ramp

primary
#9E2F4E
secondary
#6CBDA6
accent
#DEB44A
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9E2F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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