#C9318E#C9318E

#C9318E is a mid, highly saturated pink. Relative luminance 0.166; OKLCH L 57.7% C 0.206 H 348.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C9318E
RGBrgb(201, 49, 142)
HSLhsl(323, 61%, 49%)
HSVhsv(323, 76%, 79%)
CMYKcmyk(0%, 75.6%, 29.4%, 21.2%)
CIE-LABlab(47.71, 66.06, -16.11)
CIE-LCHlch(47.71, 68.00, 346.30°)
OKLaboklab(57.66% 0.2015 -0.0424)
OKLCHoklch(57.66% 0.206 348.1)
XYZxyz(30.0697, 16.5706, 27.2008)
Luminance0.1657 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9318E #31C96C
analogous
#B831C9 #C9318E #C93142
triadic
#C9318E #8EC931 #318EC9
tetradic
#C9318E #C9B831 #31C96C #3142C9
square
#C9318E #C9B831 #31C96C #3142C9
split-complementary
#C9318E #42C931 #31C9B8
monochromatic
#671948 #98256B #C9318E #D85FA9 #E490C4

Accessibility & contrast

On white

4.87
#C9318E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#C9318E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C9318E
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9318E#FFFFFF#000000##FFFFFF
##C9318E1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496090
Deuteranopia (green-blind)
#757B8B
Tritanopia (blue-blind)
#D72A5C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c9318e;
/* rgb */ color: rgb(201, 49, 142);
/* oklch */ color: oklch(57.7% 0.206 348.1);
Tailwind
colors: {
  custom: {
    50: '#de78af',
    500: '#c9318e',
    950: '#000000',
  },
}
SCSS
$custom: #c9318e;
$custom-light: #de78af;
$custom-dark: #000000;
JSON
{
  "hex": "#c9318e",
  "rgb": {
    "r": 201,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 323.289,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57655,
    "c": 0.20589,
    "h": 348.1
  },
  "luminance": 0.16567
}

Semantic roles & 50–950 ramp

primary
#C9318E
secondary
#87CFA3
accent
#E48244
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #C9318E

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

Preview Lab → · Contrast checker → · Palette generator →

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