#C8315D#C8315D

#C8315D is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.9% C 0.188 H 8.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#C8315D
RGBrgb(200, 49, 93)
HSLhsl(343, 61%, 49%)
HSVhsv(343, 76%, 78%)
CMYKcmyk(0%, 75.5%, 53.5%, 21.6%)
CIE-LABlab(46.00, 61.01, 11.32)
CIE-LCHlch(46.00, 62.05, 10.51°)
OKLaboklab(55.87% 0.1855 0.0289)
OKLCHoklch(55.87% 0.188 8.8)
XYZxyz(26.8960, 15.2701, 11.8850)
Luminance0.1527 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8315D #31C89C
analogous
#C831A9 #C8315D #C85131
triadic
#C8315D #5DC831 #315DC8
tetradic
#C8315D #A9C831 #31C89C #5131C8
square
#C8315D #A9C831 #31C89C #5131C8
split-complementary
#C8315D #31C851 #31A9C8
monochromatic
#66192F #972546 #C8315D #D85F82 #E490A8

Accessibility & contrast

On white

5.18
#C8315D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#C8315D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C8315D
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8315D#FFFFFF#000000##FFFFFF
##C8315D1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585A5E
Deuteranopia (green-blind)
#7F7859
Tritanopia (blue-blind)
#DA0044
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c8315d;
/* rgb */ color: rgb(200, 49, 93);
/* oklch */ color: oklch(55.9% 0.188 8.8);
Tailwind
colors: {
  custom: {
    50: '#df768a',
    500: '#c8315d',
    950: '#000000',
  },
}
SCSS
$custom: #c8315d;
$custom-light: #df768a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8315d",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 93
  },
  "hsl": {
    "h": 342.517,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55866,
    "c": 0.18774,
    "h": 8.8
  },
  "luminance": 0.15266
}

Semantic roles & 50–950 ramp

primary
#C8315D
secondary
#86CEB9
accent
#E4B544
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#160A0B
muted
#847C7C

Preview Lab

Preview with #C8315D

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

Preview Lab → · Contrast checker → · Palette generator →

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