#C8315B#C8315B

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

Color values

HEX#C8315B
RGBrgb(200, 49, 91)
HSLhsl(343, 61%, 49%)
HSVhsv(343, 76%, 78%)
CMYKcmyk(0%, 75.5%, 54.5%, 21.6%)
CIE-LABlab(45.95, 60.86, 12.49)
CIE-LCHlch(45.95, 62.13, 11.59°)
OKLaboklab(55.82% 0.1848 0.0317)
OKLCHoklch(55.82% 0.187 9.7)
XYZxyz(26.8086, 15.2351, 11.4245)
Luminance0.1523 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8315B #31C89E
analogous
#C831A7 #C8315B #C85231
triadic
#C8315B #5BC831 #315BC8
tetradic
#C8315B #A7C831 #31C89E #5231C8
square
#C8315B #A7C831 #31C89E #5231C8
split-complementary
#C8315B #31C852 #31A7C8
monochromatic
#66192E #972545 #C8315B #D85F80 #E490A7

Accessibility & contrast

On white

5.19
#C8315B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C8315B
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8315B#FFFFFF#000000##FFFFFF
##C8315B1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59595C
Deuteranopia (green-blind)
#807857
Tritanopia (blue-blind)
#DA0043
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c8315b;
/* rgb */ color: rgb(200, 49, 91);
/* oklch */ color: oklch(55.8% 0.187 9.7);
Tailwind
colors: {
  custom: {
    50: '#df7689',
    500: '#c8315b',
    950: '#000000',
  },
}
SCSS
$custom: #c8315b;
$custom-light: #df7689;
$custom-dark: #000000;
JSON
{
  "hex": "#c8315b",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 91
  },
  "hsl": {
    "h": 343.311,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55815,
    "c": 0.18744,
    "h": 9.7
  },
  "luminance": 0.15231
}

Semantic roles & 50–950 ramp

primary
#C8315B
secondary
#86CEBA
accent
#E4B744
background
#FEF7F8
surface
#FDEEEF
border
#D5C9CA
text
#160A0B
muted
#847C7C

Preview Lab

Preview with #C8315B

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

Preview Lab → · Contrast checker → · Palette generator →

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