#9C2E7E#9C2E7E

#9C2E7E is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.169 H 340.7°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9C2E7E
RGBrgb(156, 46, 126)
HSLhsl(316, 54%, 40%)
HSVhsv(316, 71%, 61%)
CMYKcmyk(0%, 70.5%, 19.2%, 38.8%)
CIE-LABlab(38.78, 53.42, -20.73)
CIE-LCHlch(38.78, 57.30, 338.79°)
OKLaboklab(49.45% 0.1594 -0.0558)
OKLCHoklch(49.45% 0.169 340.7)
XYZxyz(18.4537, 10.5300, 20.7952)
Luminance0.1053 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2E7E #2E9C4C
analogous
#832E9C #9C2E7E #9C2E47
triadic
#9C2E7E #7E9C2E #2E7E9C
tetradic
#9C2E7E #9C832E #2E9C4C #2E479C
square
#9C2E7E #9C832E #2E9C4C #2E479C
split-complementary
#9C2E7E #479C2E #2E9C83
monochromatic
#3D1232 #6D2058 #9C2E7E #C740A2 #D570B9

Accessibility & contrast

On white

6.76
#9C2E7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9C2E7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2E7E
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2E7E#FFFFFF#000000##FFFFFF
##9C2E7E1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365080
Deuteranopia (green-blind)
#58627B
Tritanopia (blue-blind)
#A53152
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c2e7e;
/* rgb */ color: rgb(156, 46, 126);
/* oklch */ color: oklch(49.5% 0.169 340.7);
Tailwind
colors: {
  custom: {
    50: '#bd70a3',
    500: '#9c2e7e',
    950: '#000000',
  },
}
SCSS
$custom: #9c2e7e;
$custom-light: #bd70a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2e7e",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 316.364,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4945,
    "c": 0.16886,
    "h": 340.7
  },
  "luminance": 0.10528
}

Semantic roles & 50–950 ramp

primary
#9C2E7E
secondary
#6ABC80
accent
#DE724A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9C2E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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