#C0317D#C0317D

#C0317D is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.5% C 0.191 H 352.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#C0317D
RGBrgb(192, 49, 125)
HSLhsl(328, 59%, 47%)
HSVhsv(328, 74%, 75%)
CMYKcmyk(0%, 74.5%, 34.9%, 24.7%)
CIE-LABlab(45.48, 61.81, -9.32)
CIE-LCHlch(45.48, 62.51, 351.42°)
OKLaboklab(55.52% 0.1895 -0.0239)
OKLCHoklch(55.52% 0.191 352.8)
XYZxyz(26.5398, 14.8869, 20.8739)
Luminance0.1488 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0317D #31C074
analogous
#BC31C0 #C0317D #C03135
triadic
#C0317D #7DC031 #317DC0
tetradic
#C0317D #C0BC31 #31C074 #3135C0
square
#C0317D #C0BC31 #31C074 #3135C0
split-complementary
#C0317D #35C031 #31C0BC
monochromatic
#5E183E #8F255D #C0317D #D5599B #E18AB8

Accessibility & contrast

On white

5.28
#C0317D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#C0317D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0317D
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0317D#FFFFFF#000000##FFFFFF
##C0317D1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5B7F
Deuteranopia (green-blind)
#74757A
Tritanopia (blue-blind)
#CF2453
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c0317d;
/* rgb */ color: rgb(192, 49, 125);
/* oklch */ color: oklch(55.5% 0.191 352.8);
Tailwind
colors: {
  custom: {
    50: '#d876a2',
    500: '#c0317d',
    950: '#000000',
  },
}
SCSS
$custom: #c0317d;
$custom-light: #d876a2;
$custom-dark: #000000;
JSON
{
  "hex": "#c0317d",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 125
  },
  "hsl": {
    "h": 328.112,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55521,
    "c": 0.19099,
    "h": 352.8
  },
  "luminance": 0.14884
}

Semantic roles & 50–950 ramp

primary
#C0317D
secondary
#82CBA4
accent
#E38F45
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090F
muted
#837B7E

Preview Lab

Preview with #C0317D

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

Preview Lab → · Contrast checker → · Palette generator →

#C0317D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva