#C2318A#C2318A

#C2318A is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.4% C 0.199 H 347.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#C2318A
RGBrgb(194, 49, 138)
HSLhsl(323, 60%, 48%)
HSVhsv(323, 75%, 76%)
CMYKcmyk(0%, 74.7%, 28.9%, 23.9%)
CIE-LABlab(46.32, 63.83, -15.93)
CIE-LCHlch(46.32, 65.79, 345.98°)
OKLaboklab(56.36% 0.1945 -0.042)
OKLCHoklch(56.36% 0.199 347.8)
XYZxyz(27.9353, 15.5041, 25.5613)
Luminance0.1550 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2318A #31C269
analogous
#B131C2 #C2318A #C23142
triadic
#C2318A #8AC231 #318AC2
tetradic
#C2318A #C2B131 #31C269 #3142C2
square
#C2318A #C2B131 #31C269 #3142C2
split-complementary
#C2318A #42C231 #31C2B1
monochromatic
#601844 #912567 #C2318A #D65BA6 #E28CC1

Accessibility & contrast

On white

5.12
#C2318A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#C2318A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C2318A
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2318A#FFFFFF#000000##FFFFFF
##C2318A1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475E8C
Deuteranopia (green-blind)
#717787
Tritanopia (blue-blind)
#D02B59
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c2318a;
/* rgb */ color: rgb(194, 49, 138);
/* oklch */ color: oklch(56.4% 0.199 347.8);
Tailwind
colors: {
  custom: {
    50: '#d977ac',
    500: '#c2318a',
    950: '#000000',
  },
}
SCSS
$custom: #c2318a;
$custom-light: #d977ac;
$custom-dark: #000000;
JSON
{
  "hex": "#c2318a",
  "rgb": {
    "r": 194,
    "g": 49,
    "b": 138
  },
  "hsl": {
    "h": 323.172,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56357,
    "c": 0.19894,
    "h": 347.8
  },
  "luminance": 0.15501
}

Semantic roles & 50–950 ramp

primary
#C2318A
secondary
#83CC9F
accent
#E38245
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #C2318A

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

Preview Lab → · Contrast checker → · Palette generator →

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