#C8318D#C8318D

#C8318D is a mid, highly saturated pink. Relative luminance 0.164; OKLCH L 57.5% C 0.205 H 348.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#C8318D
RGBrgb(200, 49, 141)
HSLhsl(323, 61%, 49%)
HSVhsv(323, 76%, 78%)
CMYKcmyk(0%, 75.5%, 29.5%, 21.6%)
CIE-LABlab(47.50, 65.70, -15.85)
CIE-LCHlch(47.50, 67.58, 346.43°)
OKLaboklab(57.45% 0.2004 -0.0417)
OKLCHoklch(57.45% 0.205 348.2)
XYZxyz(29.7270, 16.4025, 26.7947)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8318D #31C86C
analogous
#B831C8 #C8318D #C83141
triadic
#C8318D #8DC831 #318DC8
tetradic
#C8318D #C8B831 #31C86C #3141C8
square
#C8318D #C8B831 #31C86C #3141C8
split-complementary
#C8318D #41C831 #31C8B8
monochromatic
#661948 #97256A #C8318D #D85FA8 #E490C3

Accessibility & contrast

On white

4.91
#C8318D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#C8318D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C8318D
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8318D#FFFFFF#000000##FFFFFF
##C8318D1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49608F
Deuteranopia (green-blind)
#757A8A
Tritanopia (blue-blind)
#D6295B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c8318d;
/* rgb */ color: rgb(200, 49, 141);
/* oklch */ color: oklch(57.5% 0.205 348.2);
Tailwind
colors: {
  custom: {
    50: '#dd78ae',
    500: '#c8318d',
    950: '#000000',
  },
}
SCSS
$custom: #c8318d;
$custom-light: #dd78ae;
$custom-dark: #000000;
JSON
{
  "hex": "#c8318d",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 141
  },
  "hsl": {
    "h": 323.444,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57452,
    "c": 0.20468,
    "h": 348.2
  },
  "luminance": 0.16399
}

Semantic roles & 50–950 ramp

primary
#C8318D
secondary
#86CEA3
accent
#E48244
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #C8318D

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

Preview Lab → · Contrast checker → · Palette generator →

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