#C0317E#C0317E

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

Color values

HEX#C0317E
RGBrgb(192, 49, 126)
HSLhsl(328, 59%, 47%)
HSVhsv(328, 74%, 75%)
CMYKcmyk(0%, 74.5%, 34.4%, 24.7%)
CIE-LABlab(45.51, 61.92, -9.88)
CIE-LCHlch(45.51, 62.70, 350.93°)
OKLaboklab(55.56% 0.1898 -0.0254)
OKLCHoklch(55.56% 0.191 352.4)
XYZxyz(26.6040, 14.9126, 21.2120)
Luminance0.1491 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0317E #31C073
analogous
#BA31C0 #C0317E #C03137
triadic
#C0317E #7EC031 #317EC0
tetradic
#C0317E #C0BA31 #31C073 #3137C0
square
#C0317E #C0BA31 #31C073 #3137C0
split-complementary
#C0317E #37C031 #31C0BA
monochromatic
#5E183E #8F255E #C0317E #D5599C #E18AB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0317E#FFFFFF#000000##FFFFFF
##C0317E1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5B80
Deuteranopia (green-blind)
#73757B
Tritanopia (blue-blind)
#CF2453
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c0317e;
/* rgb */ color: rgb(192, 49, 126);
/* oklch */ color: oklch(55.6% 0.191 352.4);
Tailwind
colors: {
  custom: {
    50: '#d876a3',
    500: '#c0317e',
    950: '#000000',
  },
}
SCSS
$custom: #c0317e;
$custom-light: #d876a3;
$custom-dark: #000000;
JSON
{
  "hex": "#c0317e",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 327.692,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55559,
    "c": 0.19145,
    "h": 352.4
  },
  "luminance": 0.14909
}

Semantic roles & 50–950 ramp

primary
#C0317E
secondary
#82CBA4
accent
#E38E45
background
#FDF7FA
surface
#FBEEF3
border
#D4C9CD
text
#15090F
muted
#837B7F

Preview Lab

Preview with #C0317E

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

Preview Lab → · Contrast checker → · Palette generator →

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