#9C2E6B#9C2E6B

#9C2E6B is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.6% C 0.157 H 350.4°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#9C2E6B
RGBrgb(156, 46, 107)
HSLhsl(327, 54%, 40%)
HSVhsv(327, 71%, 61%)
CMYKcmyk(0%, 70.5%, 31.4%, 38.8%)
CIE-LABlab(38.00, 50.85, -10.06)
CIE-LCHlch(38.00, 51.84, 348.81°)
OKLaboklab(48.62% 0.1551 -0.0262)
OKLCHoklch(48.62% 0.157 350.4)
XYZxyz(17.3420, 10.0854, 14.9405)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2E6B #2E9C5F
analogous
#962E9C #9C2E6B #9C2E34
triadic
#9C2E6B #6B9C2E #2E6B9C
tetradic
#9C2E6B #9C962E #2E9C5F #2E349C
square
#9C2E6B #9C962E #2E9C5F #2E349C
split-complementary
#9C2E6B #349C2E #2E9C96
monochromatic
#3D122A #6D204B #9C2E6B #C7408B #D570A8

Accessibility & contrast

On white

6.96
#9C2E6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9C2E6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2E6B
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2E6B#FFFFFF#000000##FFFFFF
##9C2E6B1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4D6D
Deuteranopia (green-blind)
#5E6168
Tritanopia (blue-blind)
#A82848
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c2e6b;
/* rgb */ color: rgb(156, 46, 107);
/* oklch */ color: oklch(48.6% 0.157 350.4);
Tailwind
colors: {
  custom: {
    50: '#bd7095',
    500: '#9c2e6b',
    950: '#000000',
  },
}
SCSS
$custom: #9c2e6b;
$custom-light: #bd7095;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2e6b",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 107
  },
  "hsl": {
    "h": 326.727,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48622,
    "c": 0.15729,
    "h": 350.4
  },
  "luminance": 0.10083
}

Semantic roles & 50–950 ramp

primary
#9C2E6B
secondary
#6ABC8E
accent
#DE8C4A
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9C2E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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