#9E2F4B#9E2F4B

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

Color values

HEX#9E2F4B
RGBrgb(158, 47, 75)
HSLhsl(345, 54%, 40%)
HSVhsv(345, 70%, 62%)
CMYKcmyk(0%, 70.3%, 52.5%, 38%)
CIE-LABlab(37.50, 47.68, 9.59)
CIE-LCHlch(37.50, 48.63, 11.37°)
OKLaboklab(48% 0.1447 0.0245)
OKLCHoklch(48% 0.147 9.6)
XYZxyz(16.3885, 9.8123, 7.6862)
Luminance0.0981 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F4B #2F9E82
analogous
#9E2F82 #9E2F4B #9E4B2F
triadic
#9E2F4B #4B9E2F #2F4B9E
tetradic
#9E2F4B #829E2F #2F9E82 #4B2F9E
square
#9E2F4B #829E2F #2F9E82 #4B2F9E
split-complementary
#9E2F4B #2F9E4B #2F829E
monochromatic
#40131E #6F2135 #9E2F4B #C74364 #D5728B

Accessibility & contrast

On white

7.09
#9E2F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E2F4B
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F4B#FFFFFF#000000##FFFFFF
##9E2F4B1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4A4C
Deuteranopia (green-blind)
#666048
Tritanopia (blue-blind)
#AC1A3A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e2f4b;
/* rgb */ color: rgb(158, 47, 75);
/* oklch */ color: oklch(48.0% 0.147 9.6);
Tailwind
colors: {
  custom: {
    50: '#c06f7d',
    500: '#9e2f4b',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f4b;
$custom-light: #c06f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f4b",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 75
  },
  "hsl": {
    "h": 344.865,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48001,
    "c": 0.1468,
    "h": 9.6
  },
  "luminance": 0.0981
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E2F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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