#C042C3#C042C3

#C042C3 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.4% C 0.217 H 326.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C042C3
RGBrgb(192, 66, 195)
HSLhsl(299, 52%, 51%)
HSVhsv(299, 66%, 76%)
CMYKcmyk(1.5%, 66.2%, 0%, 23.5%)
CIE-LABlab(50.74, 65.64, -42.78)
CIE-LCHlch(50.74, 78.35, 326.91°)
OKLaboklab(60.35% 0.1817 -0.1185)
OKLCHoklch(60.35% 0.217 326.9)
XYZxyz(33.5362, 19.0452, 53.5289)
Luminance0.1904 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C042C3 #45C342
analogous
#7F42C3 #C042C3 #C34285
triadic
#C042C3 #C3C042 #42C3C0
tetradic
#C042C3 #C37F42 #45C342 #4285C3
square
#C042C3 #C37F42 #45C342 #4285C3
split-complementary
#C042C3 #85C342 #42C37F
monochromatic
#682169 #953098 #C042C3 #CF70D2 #DF9FE0

Accessibility & contrast

On white

4.37
#C042C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#C042C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C042C3
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C042C3#FFFFFF#000000##000000
##C042C31.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D6EC7
Deuteranopia (green-blind)
#607EC0
Tritanopia (blue-blind)
#C5557D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c042c3;
/* rgb */ color: rgb(192, 66, 195);
/* oklch */ color: oklch(60.4% 0.217 326.9);
Tailwind
colors: {
  custom: {
    50: '#d680d5',
    500: '#c042c3',
    950: '#000000',
  },
}
SCSS
$custom: #c042c3;
$custom-light: #d680d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c042c3",
  "rgb": {
    "r": 192,
    "g": 66,
    "b": 195
  },
  "hsl": {
    "h": 298.605,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60353,
    "c": 0.21689,
    "h": 326.9
  },
  "luminance": 0.19043
}

Semantic roles & 50–950 ramp

primary
#C042C3
secondary
#95CD94
accent
#DB4D50
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C042C3

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

Preview Lab → · Contrast checker → · Palette generator →

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