#C8318F#C8318F

#C8318F is a mid, highly saturated pink. Relative luminance 0.165; OKLCH L 57.5% C 0.206 H 347.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#C8318F
RGBrgb(200, 49, 143)
HSLhsl(323, 61%, 49%)
HSVhsv(323, 76%, 78%)
CMYKcmyk(0%, 75.5%, 28.5%, 21.6%)
CIE-LABlab(47.58, 65.93, -16.94)
CIE-LCHlch(47.58, 68.08, 345.59°)
OKLaboklab(57.53% 0.2008 -0.0447)
OKLCHoklch(57.53% 0.206 347.5)
XYZxyz(29.8771, 16.4625, 27.5855)
Luminance0.1646 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8318F #31C86A
analogous
#B631C8 #C8318F #C83144
triadic
#C8318F #8FC831 #318FC8
tetradic
#C8318F #C8B631 #31C86A #3144C8
square
#C8318F #C8B631 #31C86A #3144C8
split-complementary
#C8318F #44C831 #31C8B6
monochromatic
#661949 #97256C #C8318F #D85FAA #E490C4

Accessibility & contrast

On white

4.89
#C8318F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#C8318F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C8318F
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8318F#FFFFFF#000000##FFFFFF
##C8318F1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486091
Deuteranopia (green-blind)
#747A8C
Tritanopia (blue-blind)
#D62B5C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c8318f;
/* rgb */ color: rgb(200, 49, 143);
/* oklch */ color: oklch(57.5% 0.206 347.5);
Tailwind
colors: {
  custom: {
    50: '#dd78b0',
    500: '#c8318f',
    950: '#000000',
  },
}
SCSS
$custom: #c8318f;
$custom-light: #dd78b0;
$custom-dark: #000000;
JSON
{
  "hex": "#c8318f",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 143
  },
  "hsl": {
    "h": 322.649,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57533,
    "c": 0.20574,
    "h": 347.5
  },
  "luminance": 0.16459
}

Semantic roles & 50–950 ramp

primary
#C8318F
secondary
#86CEA2
accent
#E48044
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #C8318F

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

Preview Lab → · Contrast checker → · Palette generator →

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