#C8315E#C8315E

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

Color values

HEX#C8315E
RGBrgb(200, 49, 94)
HSLhsl(342, 61%, 49%)
HSVhsv(342, 76%, 78%)
CMYKcmyk(0%, 75.5%, 53%, 21.6%)
CIE-LABlab(46.03, 61.09, 10.73)
CIE-LCHlch(46.03, 62.03, 9.97°)
OKLaboklab(55.89% 0.1859 0.0275)
OKLCHoklch(55.89% 0.188 8.4)
XYZxyz(26.9406, 15.2879, 12.1198)
Luminance0.1528 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8315E #31C89B
analogous
#C831AA #C8315E #C84F31
triadic
#C8315E #5EC831 #315EC8
tetradic
#C8315E #AAC831 #31C89B #4F31C8
square
#C8315E #AAC831 #31C89B #4F31C8
split-complementary
#C8315E #31C84F #31AAC8
monochromatic
#661930 #972547 #C8315E #D85F83 #E490A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8315E#FFFFFF#000000##FFFFFF
##C8315E1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8315e;
/* rgb */ color: rgb(200, 49, 94);
/* oklch */ color: oklch(55.9% 0.188 8.4);
Tailwind
colors: {
  custom: {
    50: '#df768b',
    500: '#c8315e',
    950: '#000000',
  },
}
SCSS
$custom: #c8315e;
$custom-light: #df768b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8315e",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 342.119,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55891,
    "c": 0.1879,
    "h": 8.4
  },
  "luminance": 0.15284
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8315E

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

Preview Lab → · Contrast checker → · Palette generator →

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