#C7315E#C7315E

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

Color values

HEX#C7315E
RGBrgb(199, 49, 94)
HSLhsl(342, 60%, 49%)
HSVhsv(342, 75%, 78%)
CMYKcmyk(0%, 75.4%, 52.8%, 22%)
CIE-LABlab(45.84, 60.81, 10.45)
CIE-LCHlch(45.84, 61.70, 9.75°)
OKLaboklab(55.72% 0.1851 0.0268)
OKLCHoklch(55.72% 0.187 8.2)
XYZxyz(26.6743, 15.1506, 12.1073)
Luminance0.1515 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7315E #31C79A
analogous
#C731A9 #C7315E #C74F31
triadic
#C7315E #5EC731 #315EC7
tetradic
#C7315E #A9C731 #31C79A #4F31C7
square
#C7315E #A9C731 #31C79A #4F31C7
split-complementary
#C7315E #31C74F #31A9C7
monochromatic
#651930 #962547 #C7315E #D75E82 #E38FA8

Accessibility & contrast

On white

5.21
#C7315E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C7315E
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7315E#FFFFFF#000000##FFFFFF
##C7315E1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57595F
Deuteranopia (green-blind)
#7F775A
Tritanopia (blue-blind)
#D90144
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c7315e;
/* rgb */ color: rgb(199, 49, 94);
/* oklch */ color: oklch(55.7% 0.187 8.2);
Tailwind
colors: {
  custom: {
    50: '#de768b',
    500: '#c7315e',
    950: '#000000',
  },
}
SCSS
$custom: #c7315e;
$custom-light: #de768b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7315e",
  "rgb": {
    "r": 199,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 342,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5572,
    "c": 0.187,
    "h": 8.2
  },
  "luminance": 0.15147
}

Semantic roles & 50–950 ramp

primary
#C7315E
secondary
#86CEB8
accent
#E4B444
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#160A0B
muted
#847C7C

Preview Lab

Preview with #C7315E

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

Preview Lab → · Contrast checker → · Palette generator →

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