#C7315D#C7315D

#C7315D is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.7% C 0.187 H 8.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#C7315D
RGBrgb(199, 49, 93)
HSLhsl(342, 60%, 49%)
HSVhsv(342, 75%, 78%)
CMYKcmyk(0%, 75.4%, 53.3%, 22%)
CIE-LABlab(45.82, 60.73, 11.03)
CIE-LCHlch(45.82, 61.72, 10.29°)
OKLaboklab(55.69% 0.1847 0.0282)
OKLCHoklch(55.69% 0.187 8.7)
XYZxyz(26.6297, 15.1328, 11.8725)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7315D #31C79B
analogous
#C731A8 #C7315D #C75031
triadic
#C7315D #5DC731 #315DC7
tetradic
#C7315D #A8C731 #31C79B #5031C7
square
#C7315D #A8C731 #31C79B #5031C7
split-complementary
#C7315D #31C750 #31A8C7
monochromatic
#65192F #962546 #C7315D #D75E81 #E38FA8

Accessibility & contrast

On white

5.22
#C7315D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#C7315D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C7315D
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7315D#FFFFFF#000000##FFFFFF
##C7315D1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58595E
Deuteranopia (green-blind)
#7F7759
Tritanopia (blue-blind)
#D90044
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c7315d;
/* rgb */ color: rgb(199, 49, 93);
/* oklch */ color: oklch(55.7% 0.187 8.7);
Tailwind
colors: {
  custom: {
    50: '#df768a',
    500: '#c7315d',
    950: '#000000',
  },
}
SCSS
$custom: #c7315d;
$custom-light: #df768a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7315d",
  "rgb": {
    "r": 199,
    "g": 49,
    "b": 93
  },
  "hsl": {
    "h": 342.4,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55694,
    "c": 0.18684,
    "h": 8.7
  },
  "luminance": 0.15129
}

Semantic roles & 50–950 ramp

primary
#C7315D
secondary
#86CEB9
accent
#E4B544
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C7315D

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

Preview Lab → · Contrast checker → · Palette generator →

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