#C5315F#C5315F

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

Color values

HEX#C5315F
RGBrgb(197, 49, 95)
HSLhsl(341, 60%, 48%)
HSVhsv(341, 75%, 77%)
CMYKcmyk(0%, 75.1%, 51.8%, 22.7%)
CIE-LABlab(45.49, 60.32, 9.29)
CIE-LCHlch(45.49, 61.03, 8.75°)
OKLaboklab(55.4% 0.1838 0.024)
OKLCHoklch(55.4% 0.185 7.4)
XYZxyz(26.1922, 14.8968, 12.3204)
Luminance0.1489 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5315F #31C597
analogous
#C531A9 #C5315F #C54D31
triadic
#C5315F #5FC531 #315FC5
tetradic
#C5315F #A9C531 #31C597 #4D31C5
square
#C5315F #A9C531 #31C597 #4D31C5
split-complementary
#C5315F #31C54D #31A9C5
monochromatic
#631930 #942547 #C5315F #D75D83 #E38EA8

Accessibility & contrast

On white

5.28
#C5315F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C5315F
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5315F#FFFFFF#000000##FFFFFF
##C5315F1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565960
Deuteranopia (green-blind)
#7D765B
Tritanopia (blue-blind)
#D70644
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c5315f;
/* rgb */ color: rgb(197, 49, 95);
/* oklch */ color: oklch(55.4% 0.185 7.4);
Tailwind
colors: {
  custom: {
    50: '#dd768c',
    500: '#c5315f',
    950: '#000000',
  },
}
SCSS
$custom: #c5315f;
$custom-light: #dd768c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5315f",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 95
  },
  "hsl": {
    "h": 341.351,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55404,
    "c": 0.18538,
    "h": 7.4
  },
  "luminance": 0.14893
}

Semantic roles & 50–950 ramp

primary
#C5315F
secondary
#85CDB7
accent
#E3B244
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#16090C
muted
#847B7D

Preview Lab

Preview with #C5315F

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

Preview Lab → · Contrast checker → · Palette generator →

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