#9E2F4C#9E2F4C

#9E2F4C is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.0% C 0.147 H 9.0°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#9E2F4C
RGBrgb(158, 47, 76)
HSLhsl(344, 54%, 40%)
HSVhsv(344, 70%, 62%)
CMYKcmyk(0%, 70.3%, 51.9%, 38%)
CIE-LABlab(37.53, 47.76, 8.99)
CIE-LCHlch(37.53, 48.60, 10.66°)
OKLaboklab(48.03% 0.1451 0.0231)
OKLCHoklch(48.03% 0.147 9)
XYZxyz(16.4230, 9.8261, 7.8679)
Luminance0.0982 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F4C #2F9E81
analogous
#9E2F84 #9E2F4C #9E492F
triadic
#9E2F4C #4C9E2F #2F4C9E
tetradic
#9E2F4C #849E2F #2F9E81 #492F9E
square
#9E2F4C #849E2F #2F9E81 #492F9E
split-complementary
#9E2F4C #2F9E49 #2F849E
monochromatic
#40131F #6F2135 #9E2F4C #C74366 #D5728C

Accessibility & contrast

On white

7.08
#9E2F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9E2F4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2F4C
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F4C#FFFFFF#000000##FFFFFF
##9E2F4C1.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494A4D
Deuteranopia (green-blind)
#666149
Tritanopia (blue-blind)
#AC1A3B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e2f4c;
/* rgb */ color: rgb(158, 47, 76);
/* oklch */ color: oklch(48.0% 0.147 9.0);
Tailwind
colors: {
  custom: {
    50: '#c0707d',
    500: '#9e2f4c',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f4c;
$custom-light: #c0707d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f4c",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 76
  },
  "hsl": {
    "h": 344.324,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48028,
    "c": 0.14695,
    "h": 9
  },
  "luminance": 0.09824
}

Semantic roles & 50–950 ramp

primary
#9E2F4C
secondary
#6CBDA8
accent
#DEB74A
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#130809
muted
#827B7B

Preview Lab

Preview with #9E2F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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