#C7315C#C7315C

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

Color values

HEX#C7315C
RGBrgb(199, 49, 92)
HSLhsl(343, 60%, 49%)
HSVhsv(343, 75%, 78%)
CMYKcmyk(0%, 75.4%, 53.8%, 22%)
CIE-LABlab(45.79, 60.65, 11.61)
CIE-LCHlch(45.79, 61.75, 10.84°)
OKLaboklab(55.67% 0.1843 0.0296)
OKLCHoklch(55.67% 0.187 9.1)
XYZxyz(26.5857, 15.1152, 11.6407)
Luminance0.1511 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7315C #31C79C
analogous
#C731A7 #C7315C #C75131
triadic
#C7315C #5CC731 #315CC7
tetradic
#C7315C #A7C731 #31C79C #5131C7
square
#C7315C #A7C731 #31C79C #5131C7
split-complementary
#C7315C #31C751 #31A7C7
monochromatic
#65192F #962545 #C7315C #D75E81 #E38FA7

Accessibility & contrast

On white

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

On black

4.02
#C7315C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C7315C#FFFFFF#000000##FFFFFF
##C7315C1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58595D
Deuteranopia (green-blind)
#7F7758
Tritanopia (blue-blind)
#D90043
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c7315c;
/* rgb */ color: rgb(199, 49, 92);
/* oklch */ color: oklch(55.7% 0.187 9.1);
Tailwind
colors: {
  custom: {
    50: '#df7689',
    500: '#c7315c',
    950: '#000000',
  },
}
SCSS
$custom: #c7315c;
$custom-light: #df7689;
$custom-dark: #000000;
JSON
{
  "hex": "#c7315c",
  "rgb": {
    "r": 199,
    "g": 49,
    "b": 92
  },
  "hsl": {
    "h": 342.8,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55669,
    "c": 0.18668,
    "h": 9.1
  },
  "luminance": 0.15111
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7315C

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

Preview Lab → · Contrast checker → · Palette generator →

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