#C12FAD#C12FAD

#C12FAD is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.7% C 0.222 H 334.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#C12FAD
RGBrgb(193, 47, 173)
HSLhsl(308, 61%, 47%)
HSVhsv(308, 76%, 76%)
CMYKcmyk(0%, 75.6%, 10.4%, 24.3%)
CIE-LABlab(47.48, 68.88, -35.07)
CIE-LCHlch(47.48, 77.29, 333.02°)
OKLaboklab(57.67% 0.2004 -0.096)
OKLCHoklch(57.67% 0.222 334.4)
XYZxyz(30.5520, 16.3903, 41.0816)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12FAD #2FC143
analogous
#8C2FC1 #C12FAD #C12F64
triadic
#C12FAD #ADC12F #2FADC1
tetradic
#C12FAD #C18C2F #2FC143 #2F64C1
square
#C12FAD #C18C2F #2FC143 #2F64C1
split-complementary
#C12FAD #64C12F #2FC18C
monochromatic
#5F1755 #902381 #C12FAD #D657C5 #E288D6

Accessibility & contrast

On white

4.91
#C12FAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#C12FAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12FAD
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12FAD#FFFFFF#000000##FFFFFF
##C12FAD1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C63B0
Deuteranopia (green-blind)
#6378AA
Tritanopia (blue-blind)
#CA3D6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c12fad;
/* rgb */ color: rgb(193, 47, 173);
/* oklch */ color: oklch(57.7% 0.222 334.4);
Tailwind
colors: {
  custom: {
    50: '#d877c6',
    500: '#c12fad',
    950: '#000000',
  },
}
SCSS
$custom: #c12fad;
$custom-light: #d877c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c12fad",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 173
  },
  "hsl": {
    "h": 308.219,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57673,
    "c": 0.22221,
    "h": 334.4
  },
  "luminance": 0.16388
}

Semantic roles & 50–950 ramp

primary
#C12FAD
secondary
#80CC8A
accent
#E45A44
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C12FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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