#C342AA#C342AA

#C342AA is a mid, vivid pink. Relative luminance 0.184; OKLCH L 59.5% C 0.199 H 336.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C342AA
RGBrgb(195, 66, 170)
HSLhsl(312, 52%, 51%)
HSVhsv(312, 66%, 76%)
CMYKcmyk(0%, 66.2%, 12.8%, 23.5%)
CIE-LABlab(49.98, 62.38, -29.36)
CIE-LCHlch(49.98, 68.94, 334.79°)
OKLaboklab(59.5% 0.1828 -0.0798)
OKLCHoklch(59.5% 0.199 336.4)
XYZxyz(31.7100, 18.4035, 39.9046)
Luminance0.1840 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C342AA #42C35B
analogous
#9B42C3 #C342AA #C34269
triadic
#C342AA #AAC342 #42AAC3
tetradic
#C342AA #C39B42 #42C35B #4269C3
square
#C342AA #C39B42 #42C35B #4269C3
split-complementary
#C342AA #69C342 #42C39B
monochromatic
#69215B #983084 #C342AA #D270BF #E09FD4

Accessibility & contrast

On white

4.49
#C342AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#C342AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C342AA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C342AA#FFFFFF#000000##000000
##C342AA1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#446AAD
Deuteranopia (green-blind)
#6E7EA7
Tritanopia (blue-blind)
#CD4970
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c342aa;
/* rgb */ color: rgb(195, 66, 170);
/* oklch */ color: oklch(59.5% 0.199 336.4);
Tailwind
colors: {
  custom: {
    50: '#d980c3',
    500: '#c342aa',
    950: '#000000',
  },
}
SCSS
$custom: #c342aa;
$custom-light: #d980c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c342aa",
  "rgb": {
    "r": 195,
    "g": 66,
    "b": 170
  },
  "hsl": {
    "h": 311.628,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59497,
    "c": 0.19942,
    "h": 336.4
  },
  "luminance": 0.18401
}

Semantic roles & 50–950 ramp

primary
#C342AA
secondary
#94CD9F
accent
#DB684D
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #C342AA

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

Preview Lab → · Contrast checker → · Palette generator →

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