#C8319E#C8319E

#C8319E is a mid, highly saturated pink. Relative luminance 0.169; OKLCH L 58.2% C 0.214 H 341.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C8319E
RGBrgb(200, 49, 158)
HSLhsl(317, 61%, 49%)
HSVhsv(317, 76%, 78%)
CMYKcmyk(0%, 75.5%, 21%, 21.6%)
CIE-LABlab(48.19, 67.81, -24.97)
CIE-LCHlch(48.19, 72.26, 339.78°)
OKLaboklab(58.18% 0.2036 -0.0671)
OKLCHoklch(58.18% 0.214 341.7)
XYZxyz(31.0903, 16.9478, 33.9750)
Luminance0.1694 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8319E #31C85B
analogous
#A731C8 #C8319E #C83152
triadic
#C8319E #9EC831 #319EC8
tetradic
#C8319E #C8A731 #31C85B #3152C8
square
#C8319E #C8A731 #31C85B #3152C8
split-complementary
#C8319E #52C831 #31C8A7
monochromatic
#661950 #972577 #C8319E #D85FB6 #E490CC

Accessibility & contrast

On white

4.78
#C8319E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C8319E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C8319E
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8319E#FFFFFF#000000##FFFFFF
##C8319E1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F63A1
Deuteranopia (green-blind)
#707B9B
Tritanopia (blue-blind)
#D43464
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c8319e;
/* rgb */ color: rgb(200, 49, 158);
/* oklch */ color: oklch(58.2% 0.214 341.7);
Tailwind
colors: {
  custom: {
    50: '#dd78bb',
    500: '#c8319e',
    950: '#000000',
  },
}
SCSS
$custom: #c8319e;
$custom-light: #dd78bb;
$custom-dark: #000000;
JSON
{
  "hex": "#c8319e",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 316.689,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58184,
    "c": 0.21438,
    "h": 341.7
  },
  "luminance": 0.16945
}

Semantic roles & 50–950 ramp

primary
#C8319E
secondary
#86CE9A
accent
#E47044
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A11
muted
#847C80

Preview Lab

Preview with #C8319E

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

Preview Lab → · Contrast checker → · Palette generator →

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