#9E2F4F#9E2F4F

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

Color values

HEX#9E2F4F
RGBrgb(158, 47, 79)
HSLhsl(343, 54%, 40%)
HSVhsv(343, 70%, 62%)
CMYKcmyk(0%, 70.3%, 50%, 38%)
CIE-LABlab(37.61, 48.03, 7.18)
CIE-LCHlch(37.61, 48.56, 8.50°)
OKLaboklab(48.11% 0.1463 0.0187)
OKLCHoklch(48.11% 0.148 7.3)
XYZxyz(16.5297, 9.8688, 8.4301)
Luminance0.0987 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F4F #2F9E7E
analogous
#9E2F86 #9E2F4F #9E472F
triadic
#9E2F4F #4F9E2F #2F4F9E
tetradic
#9E2F4F #869E2F #2F9E7E #472F9E
square
#9E2F4F #869E2F #2F9E7E #472F9E
split-complementary
#9E2F4F #2F9E47 #2F869E
monochromatic
#401320 #6F2137 #9E2F4F #C74369 #D5728F

Accessibility & contrast

On white

7.06
#9E2F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E2F4F
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F4F#FFFFFF#000000##FFFFFF
##9E2F4F1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494A50
Deuteranopia (green-blind)
#66614C
Tritanopia (blue-blind)
#AC1B3C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e2f4f;
/* rgb */ color: rgb(158, 47, 79);
/* oklch */ color: oklch(48.1% 0.147 7.3);
Tailwind
colors: {
  custom: {
    50: '#c07080',
    500: '#9e2f4f',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f4f;
$custom-light: #c07080;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f4f",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 79
  },
  "hsl": {
    "h": 342.703,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4811,
    "c": 0.1475,
    "h": 7.3
  },
  "luminance": 0.09867
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E2F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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