#C7315F#C7315F

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

Color values

HEX#C7315F
RGBrgb(199, 49, 95)
HSLhsl(342, 60%, 49%)
HSVhsv(342, 75%, 78%)
CMYKcmyk(0%, 75.4%, 52.3%, 22%)
CIE-LABlab(45.86, 60.88, 9.86)
CIE-LCHlch(45.86, 61.68, 9.20°)
OKLaboklab(55.75% 0.1855 0.0254)
OKLCHoklch(55.75% 0.187 7.8)
XYZxyz(26.7195, 15.1687, 12.3451)
Luminance0.1517 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7315F #31C799
analogous
#C731AA #C7315F #C74E31
triadic
#C7315F #5FC731 #315FC7
tetradic
#C7315F #AAC731 #31C799 #4E31C7
square
#C7315F #AAC731 #31C799 #4E31C7
split-complementary
#C7315F #31C74E #31AAC7
monochromatic
#651930 #962548 #C7315F #D75E83 #E38FA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7315F#FFFFFF#000000##FFFFFF
##C7315F1.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)
#575960
Deuteranopia (green-blind)
#7E775B
Tritanopia (blue-blind)
#D90245
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c7315f;
/* rgb */ color: rgb(199, 49, 95);
/* oklch */ color: oklch(55.7% 0.187 7.8);
Tailwind
colors: {
  custom: {
    50: '#de768c',
    500: '#c7315f',
    950: '#000000',
  },
}
SCSS
$custom: #c7315f;
$custom-light: #de768c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7315f",
  "rgb": {
    "r": 199,
    "g": 49,
    "b": 95
  },
  "hsl": {
    "h": 341.6,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55746,
    "c": 0.18718,
    "h": 7.8
  },
  "luminance": 0.15165
}

Semantic roles & 50–950 ramp

primary
#C7315F
secondary
#86CEB8
accent
#E4B344
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#160A0C
muted
#847C7D

Preview Lab

Preview with #C7315F

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

Preview Lab → · Contrast checker → · Palette generator →

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