#C2318B#C2318B

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

Color values

HEX#C2318B
RGBrgb(194, 49, 139)
HSLhsl(323, 60%, 48%)
HSVhsv(323, 75%, 76%)
CMYKcmyk(0%, 74.7%, 28.4%, 23.9%)
CIE-LABlab(46.36, 63.95, -16.48)
CIE-LCHlch(46.36, 66.04, 345.55°)
OKLaboklab(56.4% 0.1947 -0.0435)
OKLCHoklch(56.4% 0.199 347.4)
XYZxyz(28.0080, 15.5332, 25.9443)
Luminance0.1553 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2318B #31C268
analogous
#B131C2 #C2318B #C23142
triadic
#C2318B #8BC231 #318BC2
tetradic
#C2318B #C2B131 #31C268 #3142C2
square
#C2318B #C2B131 #31C268 #3142C2
split-complementary
#C2318B #42C231 #31C2B1
monochromatic
#601845 #912568 #C2318B #D65BA7 #E28CC1

Accessibility & contrast

On white

5.11
#C2318B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#C2318B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C2318B
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2318B#FFFFFF#000000##FFFFFF
##C2318B1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465E8D
Deuteranopia (green-blind)
#717788
Tritanopia (blue-blind)
#D02B5A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c2318b;
/* rgb */ color: rgb(194, 49, 139);
/* oklch */ color: oklch(56.4% 0.199 347.4);
Tailwind
colors: {
  custom: {
    50: '#d977ad',
    500: '#c2318b',
    950: '#000000',
  },
}
SCSS
$custom: #c2318b;
$custom-light: #d977ad;
$custom-dark: #000000;
JSON
{
  "hex": "#c2318b",
  "rgb": {
    "r": 194,
    "g": 49,
    "b": 139
  },
  "hsl": {
    "h": 322.759,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56398,
    "c": 0.19948,
    "h": 347.4
  },
  "luminance": 0.1553
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2318B

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

Preview Lab → · Contrast checker → · Palette generator →

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