#C12DAE#C12DAE

#C12DAE is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.6% C 0.225 H 334.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C12DAE
RGBrgb(193, 45, 174)
HSLhsl(308, 62%, 47%)
HSVhsv(308, 77%, 76%)
CMYKcmyk(0%, 76.7%, 9.8%, 24.3%)
CIE-LABlab(47.33, 69.60, -35.90)
CIE-LCHlch(47.33, 78.31, 332.72°)
OKLaboklab(57.58% 0.2022 -0.0984)
OKLCHoklch(57.58% 0.225 334)
XYZxyz(30.5710, 16.2729, 41.5671)
Luminance0.1627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12DAE #2DC140
analogous
#8A2DC1 #C12DAE #C12D64
triadic
#C12DAE #AEC12D #2DAEC1
tetradic
#C12DAE #C18A2D #2DC140 #2D64C1
square
#C12DAE #C18A2D #2DC140 #2D64C1
split-complementary
#C12DAE #64C12D #2DC18A
monochromatic
#5E1655 #8F2181 #C12DAE #D754C6 #E386D7

Accessibility & contrast

On white

4.94
#C12DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#C12DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12DAE
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12DAE#FFFFFF#000000##FFFFFF
##C12DAE1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2963B1
Deuteranopia (green-blind)
#6278AB
Tritanopia (blue-blind)
#CA3C6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c12dae;
/* rgb */ color: rgb(193, 45, 174);
/* oklch */ color: oklch(57.6% 0.225 334.0);
Tailwind
colors: {
  custom: {
    50: '#d877c6',
    500: '#c12dae',
    950: '#000000',
  },
}
SCSS
$custom: #c12dae;
$custom-light: #d877c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c12dae",
  "rgb": {
    "r": 193,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 307.703,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57581,
    "c": 0.22483,
    "h": 334
  },
  "luminance": 0.1627
}

Semantic roles & 50–950 ramp

primary
#C12DAE
secondary
#7ECC88
accent
#E55743
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C12DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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