#C5315D#C5315D

#C5315D is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.4% C 0.185 H 8.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#C5315D
RGBrgb(197, 49, 93)
HSLhsl(342, 60%, 48%)
HSVhsv(342, 75%, 77%)
CMYKcmyk(0%, 75.1%, 52.8%, 22.7%)
CIE-LABlab(45.44, 60.16, 10.45)
CIE-LCHlch(45.44, 61.06, 9.86°)
OKLaboklab(55.35% 0.1831 0.0268)
OKLCHoklch(55.35% 0.185 8.3)
XYZxyz(26.1024, 14.8609, 11.8478)
Luminance0.1486 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5315D #31C599
analogous
#C531A7 #C5315D #C54F31
triadic
#C5315D #5DC531 #315DC5
tetradic
#C5315D #A7C531 #31C599 #4F31C5
square
#C5315D #A7C531 #31C599 #4F31C5
split-complementary
#C5315D #31C54F #31A7C5
monochromatic
#63192F #942546 #C5315D #D75D81 #E38EA7

Accessibility & contrast

On white

5.29
#C5315D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#C5315D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5315D
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5315D#FFFFFF#000000##FFFFFF
##C5315D1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57595E
Deuteranopia (green-blind)
#7D7659
Tritanopia (blue-blind)
#D70344
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c5315d;
/* rgb */ color: rgb(197, 49, 93);
/* oklch */ color: oklch(55.4% 0.185 8.3);
Tailwind
colors: {
  custom: {
    50: '#dd768a',
    500: '#c5315d',
    950: '#000000',
  },
}
SCSS
$custom: #c5315d;
$custom-light: #dd768a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5315d",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 93
  },
  "hsl": {
    "h": 342.162,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55352,
    "c": 0.18502,
    "h": 8.3
  },
  "luminance": 0.14857
}

Semantic roles & 50–950 ramp

primary
#C5315D
secondary
#85CDB8
accent
#E3B444
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C5315D

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

Preview Lab → · Contrast checker → · Palette generator →

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