#C4315E#C4315E

#C4315E is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.2% C 0.184 H 7.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#C4315E
RGBrgb(196, 49, 94)
HSLhsl(342, 60%, 48%)
HSVhsv(342, 75%, 77%)
CMYKcmyk(0%, 75%, 52%, 23.1%)
CIE-LABlab(45.28, 59.95, 9.58)
CIE-LCHlch(45.28, 60.72, 9.08°)
OKLaboklab(55.21% 0.1826 0.0247)
OKLCHoklch(55.21% 0.184 7.7)
XYZxyz(25.8860, 14.7441, 12.0703)
Luminance0.1474 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4315E #31C497
analogous
#C431A7 #C4315E #C44E31
triadic
#C4315E #5EC431 #315EC4
tetradic
#C4315E #A7C431 #31C497 #4E31C4
square
#C4315E #A7C431 #31C497 #4E31C4
split-complementary
#C4315E #31C44E #31A7C4
monochromatic
#62192F #932547 #C4315E #D65C81 #E28DA7

Accessibility & contrast

On white

5.32
#C4315E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#C4315E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C4315E
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4315E#FFFFFF#000000##FFFFFF
##C4315E1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56585F
Deuteranopia (green-blind)
#7D765A
Tritanopia (blue-blind)
#D60644
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c4315e;
/* rgb */ color: rgb(196, 49, 94);
/* oklch */ color: oklch(55.2% 0.184 7.7);
Tailwind
colors: {
  custom: {
    50: '#dc768b',
    500: '#c4315e',
    950: '#000000',
  },
}
SCSS
$custom: #c4315e;
$custom-light: #dc768b;
$custom-dark: #000000;
JSON
{
  "hex": "#c4315e",
  "rgb": {
    "r": 196,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 341.633,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55207,
    "c": 0.18429,
    "h": 7.7
  },
  "luminance": 0.14741
}

Semantic roles & 50–950 ramp

primary
#C4315E
secondary
#84CDB7
accent
#E3B345
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#16090C
muted
#847B7D

Preview Lab

Preview with #C4315E

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

Preview Lab → · Contrast checker → · Palette generator →

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