#9E2F63#9E2F63

#9E2F63 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.8% C 0.154 H 355.7°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9E2F63
RGBrgb(158, 47, 99)
HSLhsl(332, 54%, 40%)
HSVhsv(332, 70%, 62%)
CMYKcmyk(0%, 70.3%, 37.3%, 38%)
CIE-LABlab(38.21, 50.09, -4.66)
CIE-LCHlch(38.21, 50.31, 354.69°)
OKLaboklab(48.75% 0.1534 -0.0116)
OKLCHoklch(48.75% 0.154 355.7)
XYZxyz(17.3703, 10.2050, 12.8570)
Luminance0.1020 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F63 #2F9E6A
analogous
#9E2F9A #9E2F63 #9E332F
triadic
#9E2F63 #639E2F #2F639E
tetradic
#9E2F63 #9A9E2F #2F9E6A #332F9E
square
#9E2F63 #9A9E2F #2F9E6A #332F9E
split-complementary
#9E2F63 #2F9E33 #2F9A9E
monochromatic
#401328 #6F2145 #9E2F63 #C74381 #D572A1

Accessibility & contrast

On white

6.91
#9E2F63 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9E2F63 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2F63
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F63#FFFFFF#000000##FFFFFF
##9E2F631.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434D64
Deuteranopia (green-blind)
#626160
Tritanopia (blue-blind)
#AB2445
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e2f63;
/* rgb */ color: rgb(158, 47, 99);
/* oklch */ color: oklch(48.8% 0.154 355.7);
Tailwind
colors: {
  custom: {
    50: '#bf708f',
    500: '#9e2f63',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f63;
$custom-light: #bf708f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f63",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 99
  },
  "hsl": {
    "h": 331.892,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48752,
    "c": 0.15386,
    "h": 355.7
  },
  "luminance": 0.10203
}

Semantic roles & 50–950 ramp

primary
#9E2F63
secondary
#6CBD97
accent
#DE994A
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9E2F63

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

Preview Lab → · Contrast checker → · Palette generator →

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