#C8315F#C8315F

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

Color values

HEX#C8315F
RGBrgb(200, 49, 95)
HSLhsl(342, 61%, 49%)
HSVhsv(342, 76%, 78%)
CMYKcmyk(0%, 75.5%, 52.5%, 21.6%)
CIE-LABlab(46.05, 61.17, 10.15)
CIE-LCHlch(46.05, 62.00, 9.42°)
OKLaboklab(55.92% 0.1863 0.0261)
OKLCHoklch(55.92% 0.188 8)
XYZxyz(26.9858, 15.3060, 12.3576)
Luminance0.1530 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8315F #31C89A
analogous
#C831AB #C8315F #C84F31
triadic
#C8315F #5FC831 #315FC8
tetradic
#C8315F #ABC831 #31C89A #4F31C8
square
#C8315F #ABC831 #31C89A #4F31C8
split-complementary
#C8315F #31C84F #31ABC8
monochromatic
#661930 #972548 #C8315F #D85F83 #E490A9

Accessibility & contrast

On white

5.17
#C8315F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#C8315F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C8315F
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8315F#FFFFFF#000000##FFFFFF
##C8315F1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585A60
Deuteranopia (green-blind)
#7F785B
Tritanopia (blue-blind)
#DA0145
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c8315f;
/* rgb */ color: rgb(200, 49, 95);
/* oklch */ color: oklch(55.9% 0.188 8.0);
Tailwind
colors: {
  custom: {
    50: '#df768c',
    500: '#c8315f',
    950: '#000000',
  },
}
SCSS
$custom: #c8315f;
$custom-light: #df768c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8315f",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 95
  },
  "hsl": {
    "h": 341.722,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55917,
    "c": 0.18808,
    "h": 8
  },
  "luminance": 0.15302
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8315F

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

Preview Lab → · Contrast checker → · Palette generator →

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