#C8317E#C8317E

#C8317E is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.9% C 0.198 H 354.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#C8317E
RGBrgb(200, 49, 126)
HSLhsl(329, 61%, 49%)
HSVhsv(329, 76%, 78%)
CMYKcmyk(0%, 75.5%, 37%, 21.6%)
CIE-LABlab(46.96, 64.02, -7.57)
CIE-LCHlch(46.96, 64.47, 353.25°)
OKLaboklab(56.88% 0.1966 -0.0192)
OKLCHoklch(56.88% 0.198 354.4)
XYZxyz(28.6855, 15.9859, 21.3096)
Luminance0.1598 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8317E #31C87B
analogous
#C731C8 #C8317E #C83132
triadic
#C8317E #7EC831 #317EC8
tetradic
#C8317E #C8C731 #31C87B #3132C8
square
#C8317E #C8C731 #31C87B #3132C8
split-complementary
#C8317E #32C831 #31C8C7
monochromatic
#661940 #97255F #C8317E #D85F9C #E490BB

Accessibility & contrast

On white

5.00
#C8317E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#C8317E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C8317E
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8317E#FFFFFF#000000##FFFFFF
##C8317E1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5E80
Deuteranopia (green-blind)
#79797B
Tritanopia (blue-blind)
#D82053
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c8317e;
/* rgb */ color: rgb(200, 49, 126);
/* oklch */ color: oklch(56.9% 0.198 354.4);
Tailwind
colors: {
  custom: {
    50: '#de77a3',
    500: '#c8317e',
    950: '#000000',
  },
}
SCSS
$custom: #c8317e;
$custom-light: #de77a3;
$custom-dark: #000000;
JSON
{
  "hex": "#c8317e",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 329.404,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56879,
    "c": 0.19752,
    "h": 354.4
  },
  "luminance": 0.15982
}

Semantic roles & 50–950 ramp

primary
#C8317E
secondary
#86CEAA
accent
#E49244
background
#FEF7FA
surface
#FCEEF3
border
#D5C9CD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #C8317E

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

Preview Lab → · Contrast checker → · Palette generator →

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