#9E2C6B#9E2C6B

#9E2C6B is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.8% C 0.161 H 350.8°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9E2C6B
RGBrgb(158, 44, 107)
HSLhsl(327, 56%, 40%)
HSVhsv(327, 72%, 62%)
CMYKcmyk(0%, 72.2%, 32.3%, 38%)
CIE-LABlab(38.08, 52.18, -9.90)
CIE-LCHlch(38.08, 53.11, 349.26°)
OKLaboklab(48.75% 0.1594 -0.0257)
OKLCHoklch(48.75% 0.161 350.8)
XYZxyz(17.6560, 10.1340, 14.9333)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2C6B #2C9E5F
analogous
#982C9E #9E2C6B #9E2C32
triadic
#9E2C6B #6B9E2C #2C6B9E
tetradic
#9E2C6B #9E982C #2C9E5F #2C329E
square
#9E2C6B #9E982C #2C9E5F #2C329E
split-complementary
#9E2C6B #329E2C #2C9E98
monochromatic
#3E112A #6E1F4B #9E2C6B #C93E8B #D76EA8

Accessibility & contrast

On white

6.94
#9E2C6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9E2C6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2C6B
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2C6B#FFFFFF#000000##FFFFFF
##9E2C6B1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4D6D
Deuteranopia (green-blind)
#5F6168
Tritanopia (blue-blind)
#AA2547
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e2c6b;
/* rgb */ color: rgb(158, 44, 107);
/* oklch */ color: oklch(48.8% 0.161 350.8);
Tailwind
colors: {
  custom: {
    50: '#bf6f95',
    500: '#9e2c6b',
    950: '#000000',
  },
}
SCSS
$custom: #9e2c6b;
$custom-light: #bf6f95;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2c6b",
  "rgb": {
    "r": 158,
    "g": 44,
    "b": 107
  },
  "hsl": {
    "h": 326.842,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48753,
    "c": 0.16144,
    "h": 350.8
  },
  "luminance": 0.10132
}

Semantic roles & 50–950 ramp

primary
#9E2C6B
secondary
#68BE8E
accent
#E08C48
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9E2C6B

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

Preview Lab → · Contrast checker → · Palette generator →

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