#9E304C#9E304C

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

Color values

HEX#9E304C
RGBrgb(158, 48, 76)
HSLhsl(345, 53%, 40%)
HSVhsv(345, 70%, 62%)
CMYKcmyk(0%, 69.6%, 51.9%, 38%)
CIE-LABlab(37.67, 47.36, 9.19)
CIE-LCHlch(37.67, 48.24, 10.98°)
OKLaboklab(48.14% 0.1438 0.0236)
OKLCHoklch(48.14% 0.146 9.3)
XYZxyz(16.4634, 9.9070, 7.8814)
Luminance0.0990 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E304C #309E82
analogous
#9E3083 #9E304C #9E4B30
triadic
#9E304C #4C9E30 #304C9E
tetradic
#9E304C #839E30 #309E82 #4B309E
square
#9E304C #839E30 #309E82 #4B309E
split-complementary
#9E304C #309E4B #30839E
monochromatic
#40131F #6F2235 #9E304C #C64566 #D5748C

Accessibility & contrast

On white

7.04
#9E304C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E304C
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E304C#FFFFFF#000000##FFFFFF
##9E304C1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4B4D
Deuteranopia (green-blind)
#676149
Tritanopia (blue-blind)
#AC1C3B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e304c;
/* rgb */ color: rgb(158, 48, 76);
/* oklch */ color: oklch(48.1% 0.146 9.3);
Tailwind
colors: {
  custom: {
    50: '#c0707d',
    500: '#9e304c',
    950: '#000000',
  },
}
SCSS
$custom: #9e304c;
$custom-light: #c0707d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e304c",
  "rgb": {
    "r": 158,
    "g": 48,
    "b": 76
  },
  "hsl": {
    "h": 344.727,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48137,
    "c": 0.14576,
    "h": 9.3
  },
  "luminance": 0.09905
}

Semantic roles & 50–950 ramp

primary
#9E304C
secondary
#6DBDA8
accent
#DDB84B
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#130809
muted
#827B7B

Preview Lab

Preview with #9E304C

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

Preview Lab → · Contrast checker → · Palette generator →

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