#9E2F51#9E2F51

#9E2F51 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.2% C 0.148 H 6.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#9E2F51
RGBrgb(158, 47, 81)
HSLhsl(342, 54%, 40%)
HSVhsv(342, 70%, 62%)
CMYKcmyk(0%, 70.3%, 48.7%, 38%)
CIE-LABlab(37.66, 48.22, 5.98)
CIE-LCHlch(37.66, 48.59, 7.07°)
OKLaboklab(48.17% 0.1471 0.0157)
OKLCHoklch(48.17% 0.148 6.1)
XYZxyz(16.6036, 9.8984, 8.8192)
Luminance0.0990 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F51 #2F9E7C
analogous
#9E2F88 #9E2F51 #9E452F
triadic
#9E2F51 #519E2F #2F519E
tetradic
#9E2F51 #889E2F #2F9E7C #452F9E
square
#9E2F51 #889E2F #2F9E7C #452F9E
split-complementary
#9E2F51 #2F9E45 #2F889E
monochromatic
#401321 #6F2139 #9E2F51 #C7436C #D57291

Accessibility & contrast

On white

7.05
#9E2F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9E2F51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2F51
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F51#FFFFFF#000000##FFFFFF
##9E2F511.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484B52
Deuteranopia (green-blind)
#65614E
Tritanopia (blue-blind)
#AC1C3D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e2f51;
/* rgb */ color: rgb(158, 47, 81);
/* oklch */ color: oklch(48.2% 0.148 6.1);
Tailwind
colors: {
  custom: {
    50: '#c07081',
    500: '#9e2f51',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f51;
$custom-light: #c07081;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f51",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 81
  },
  "hsl": {
    "h": 341.622,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48168,
    "c": 0.14792,
    "h": 6.1
  },
  "luminance": 0.09896
}

Semantic roles & 50–950 ramp

primary
#9E2F51
secondary
#6CBDA4
accent
#DEB04A
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9E2F51

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

Preview Lab → · Contrast checker → · Palette generator →

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