#C8318E#C8318E

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

Color values

HEX#C8318E
RGBrgb(200, 49, 142)
HSLhsl(323, 61%, 49%)
HSVhsv(323, 76%, 78%)
CMYKcmyk(0%, 75.5%, 29%, 21.6%)
CIE-LABlab(47.54, 65.82, -16.40)
CIE-LCHlch(47.54, 67.83, 346.01°)
OKLaboklab(57.49% 0.2006 -0.0432)
OKLCHoklch(57.49% 0.205 347.9)
XYZxyz(29.8017, 16.4324, 27.1883)
Luminance0.1643 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8318E #31C86B
analogous
#B731C8 #C8318E #C83143
triadic
#C8318E #8EC831 #318EC8
tetradic
#C8318E #C8B731 #31C86B #3143C8
square
#C8318E #C8B731 #31C86B #3143C8
split-complementary
#C8318E #43C831 #31C8B7
monochromatic
#661948 #97256B #C8318E #D85FA9 #E490C3

Accessibility & contrast

On white

4.90
#C8318E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C8318E
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8318E#FFFFFF#000000##FFFFFF
##C8318E1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486090
Deuteranopia (green-blind)
#757A8B
Tritanopia (blue-blind)
#D62A5C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c8318e;
/* rgb */ color: rgb(200, 49, 142);
/* oklch */ color: oklch(57.5% 0.205 347.9);
Tailwind
colors: {
  custom: {
    50: '#dd78af',
    500: '#c8318e',
    950: '#000000',
  },
}
SCSS
$custom: #c8318e;
$custom-light: #dd78af;
$custom-dark: #000000;
JSON
{
  "hex": "#c8318e",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 323.046,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57492,
    "c": 0.20521,
    "h": 347.9
  },
  "luminance": 0.16429
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8318E

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

Preview Lab → · Contrast checker → · Palette generator →

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