#9C315E#9C315E

#9C315E is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.5% C 0.147 H 358.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9C315E
RGBrgb(156, 49, 94)
HSLhsl(335, 52%, 40%)
HSVhsv(335, 69%, 61%)
CMYKcmyk(0%, 68.6%, 39.7%, 38.8%)
CIE-LABlab(37.98, 48.12, -1.87)
CIE-LCHlch(37.98, 48.15, 357.77°)
OKLaboklab(48.46% 0.1473 -0.0043)
OKLCHoklch(48.46% 0.147 358.3)
XYZxyz(16.8301, 10.0747, 11.6458)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C315E #319C6F
analogous
#9C3194 #9C315E #9C3931
triadic
#9C315E #5E9C31 #315E9C
tetradic
#9C315E #949C31 #319C6F #39319C
square
#9C315E #949C31 #319C6F #39319C
split-complementary
#9C315E #319C39 #31949C
monochromatic
#3F1426 #6D2242 #9C315E #C5457B #D3749C

Accessibility & contrast

On white

6.97
#9C315E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9C315E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C315E
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C315E#FFFFFF#000000##FFFFFF
##9C315E1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454D5F
Deuteranopia (green-blind)
#62615C
Tritanopia (blue-blind)
#A92643
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c315e;
/* rgb */ color: rgb(156, 49, 94);
/* oklch */ color: oklch(48.5% 0.147 358.3);
Tailwind
colors: {
  custom: {
    50: '#bd718b',
    500: '#9c315e',
    950: '#000000',
  },
}
SCSS
$custom: #9c315e;
$custom-light: #bd718b;
$custom-dark: #000000;
JSON
{
  "hex": "#9c315e",
  "rgb": {
    "r": 156,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 334.766,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4846,
    "c": 0.14739,
    "h": 358.3
  },
  "luminance": 0.10073
}

Semantic roles & 50–950 ramp

primary
#9C315E
secondary
#6DBB9B
accent
#DC9F4C
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9C315E

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

Preview Lab → · Contrast checker → · Palette generator →

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