#C4317B#C4317B

#C4317B is a mid, vivid pink. Relative luminance 0.154; OKLCH L 56.1% C 0.193 H 354.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#C4317B
RGBrgb(196, 49, 123)
HSLhsl(330, 60%, 48%)
HSVhsv(330, 75%, 77%)
CMYKcmyk(0%, 75%, 37.2%, 23.1%)
CIE-LABlab(46.13, 62.65, -7.05)
CIE-LCHlch(46.13, 63.05, 353.58°)
OKLaboklab(56.11% 0.1924 -0.0178)
OKLCHoklch(56.11% 0.193 354.7)
XYZxyz(27.4402, 15.3658, 20.2559)
Luminance0.1536 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4317B #31C47A
analogous
#C331C4 #C4317B #C43131
triadic
#C4317B #7BC431 #317BC4
tetradic
#C4317B #C4C331 #31C47A #3131C4
square
#C4317B #C4C331 #31C47A #3131C4
split-complementary
#C4317B #31C431 #31C4C3
monochromatic
#62193E #93255C #C4317B #D65C9A #E28DB8

Accessibility & contrast

On white

5.16
#C4317B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#C4317B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C4317B
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4317B#FFFFFF#000000##FFFFFF
##C4317B1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5C7D
Deuteranopia (green-blind)
#777778
Tritanopia (blue-blind)
#D42052
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c4317b;
/* rgb */ color: rgb(196, 49, 123);
/* oklch */ color: oklch(56.1% 0.193 354.7);
Tailwind
colors: {
  custom: {
    50: '#db77a1',
    500: '#c4317b',
    950: '#000000',
  },
}
SCSS
$custom: #c4317b;
$custom-light: #db77a1;
$custom-dark: #000000;
JSON
{
  "hex": "#c4317b",
  "rgb": {
    "r": 196,
    "g": 49,
    "b": 123
  },
  "hsl": {
    "h": 329.796,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56109,
    "c": 0.19317,
    "h": 354.7
  },
  "luminance": 0.15362
}

Semantic roles & 50–950 ramp

primary
#C4317B
secondary
#84CDA8
accent
#E39345
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #C4317B

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

Preview Lab → · Contrast checker → · Palette generator →

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