#C12EA8#C12EA8

#C12EA8 is a mid, highly saturated pink. Relative luminance 0.161; OKLCH L 57.3% C 0.220 H 336.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#C12EA8
RGBrgb(193, 46, 168)
HSLhsl(310, 62%, 47%)
HSVhsv(310, 76%, 76%)
CMYKcmyk(0%, 76.2%, 13%, 24.3%)
CIE-LABlab(47.13, 68.45, -32.66)
CIE-LCHlch(47.13, 75.84, 334.49°)
OKLaboklab(57.34% 0.2009 -0.0891)
OKLCHoklch(57.34% 0.22 336.1)
XYZxyz(30.0377, 16.1214, 38.5680)
Luminance0.1612 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12EA8 #2EC147
analogous
#912EC1 #C12EA8 #C12E5F
triadic
#C12EA8 #A8C12E #2EA8C1
tetradic
#C12EA8 #C1912E #2EC147 #2E5FC1
square
#C12EA8 #C1912E #2EC147 #2E5FC1
split-complementary
#C12EA8 #5FC12E #2EC191
monochromatic
#5E1652 #90227D #C12EA8 #D756C1 #E287D3

Accessibility & contrast

On white

4.97
#C12EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#C12EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12EA8
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12EA8#FFFFFF#000000##FFFFFF
##C12EA81.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3062AB
Deuteranopia (green-blind)
#6578A5
Tritanopia (blue-blind)
#CB3969
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c12ea8;
/* rgb */ color: rgb(193, 46, 168);
/* oklch */ color: oklch(57.3% 0.220 336.1);
Tailwind
colors: {
  custom: {
    50: '#d877c2',
    500: '#c12ea8',
    950: '#000000',
  },
}
SCSS
$custom: #c12ea8;
$custom-light: #d877c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c12ea8",
  "rgb": {
    "r": 193,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 310.204,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57343,
    "c": 0.21978,
    "h": 336.1
  },
  "luminance": 0.16119
}

Semantic roles & 50–950 ramp

primary
#C12EA8
secondary
#7FCC8C
accent
#E55F43
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C12EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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