#C0317F#C0317F

#C0317F is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.6% C 0.192 H 351.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#C0317F
RGBrgb(192, 49, 127)
HSLhsl(327, 59%, 47%)
HSVhsv(327, 74%, 75%)
CMYKcmyk(0%, 74.5%, 33.9%, 24.7%)
CIE-LABlab(45.55, 62.03, -10.44)
CIE-LCHlch(45.55, 62.91, 350.45°)
OKLaboklab(55.6% 0.19 -0.027)
OKLCHoklch(55.6% 0.192 351.9)
XYZxyz(26.6689, 14.9386, 21.5536)
Luminance0.1494 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0317F #31C072
analogous
#BA31C0 #C0317F #C03137
triadic
#C0317F #7FC031 #317FC0
tetradic
#C0317F #C0BA31 #31C072 #3137C0
square
#C0317F #C0BA31 #31C072 #3137C0
split-complementary
#C0317F #37C031 #31C0BA
monochromatic
#5E183E #8F255F #C0317F #D5599D #E18ABA

Accessibility & contrast

On white

5.27
#C0317F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#C0317F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0317F
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0317F#FFFFFF#000000##FFFFFF
##C0317F1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5B81
Deuteranopia (green-blind)
#73757C
Tritanopia (blue-blind)
#CF2554
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c0317f;
/* rgb */ color: rgb(192, 49, 127);
/* oklch */ color: oklch(55.6% 0.192 351.9);
Tailwind
colors: {
  custom: {
    50: '#d876a4',
    500: '#c0317f',
    950: '#000000',
  },
}
SCSS
$custom: #c0317f;
$custom-light: #d876a4;
$custom-dark: #000000;
JSON
{
  "hex": "#c0317f",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 127
  },
  "hsl": {
    "h": 327.273,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55596,
    "c": 0.19192,
    "h": 351.9
  },
  "luminance": 0.14935
}

Semantic roles & 50–950 ramp

primary
#C0317F
secondary
#82CBA3
accent
#E38D45
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #C0317F

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

Preview Lab → · Contrast checker → · Palette generator →

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