#9C335E#9C335E

#9C335E is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.7% C 0.145 H 358.7°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9C335E
RGBrgb(156, 51, 94)
HSLhsl(335, 51%, 41%)
HSVhsv(335, 67%, 61%)
CMYKcmyk(0%, 67.3%, 39.7%, 38.8%)
CIE-LABlab(38.28, 47.28, -1.43)
CIE-LCHlch(38.28, 47.30, 358.27°)
OKLaboklab(48.69% 0.1447 -0.0032)
OKLCHoklch(48.69% 0.145 358.7)
XYZxyz(16.9156, 10.2457, 11.6743)
Luminance0.1024 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C335E #339C71
analogous
#9C3392 #9C335E #9C3D33
triadic
#9C335E #5E9C33 #335E9C
tetradic
#9C335E #929C33 #339C71 #3D339C
square
#9C335E #929C33 #339C71 #3D339C
split-complementary
#9C335E #339C3D #33929C
monochromatic
#401526 #6E2442 #9C335E #C3497B #D3779C

Accessibility & contrast

On white

6.89
#9C335E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9C335E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C335E
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C335E#FFFFFF#000000##FFFFFF
##9C335E1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474E5F
Deuteranopia (green-blind)
#63615C
Tritanopia (blue-blind)
#A92844
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c335e;
/* rgb */ color: rgb(156, 51, 94);
/* oklch */ color: oklch(48.7% 0.145 358.7);
Tailwind
colors: {
  custom: {
    50: '#bd728b',
    500: '#9c335e',
    950: '#000000',
  },
}
SCSS
$custom: #9c335e;
$custom-light: #bd728b;
$custom-dark: #000000;
JSON
{
  "hex": "#9c335e",
  "rgb": {
    "r": 156,
    "g": 51,
    "b": 94
  },
  "hsl": {
    "h": 335.429,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48685,
    "c": 0.14472,
    "h": 358.7
  },
  "luminance": 0.10244
}

Semantic roles & 50–950 ramp

primary
#9C335E
secondary
#70BB9C
accent
#DAA14E
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9C335E

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

Preview Lab → · Contrast checker → · Palette generator →

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