#C342A2#C342A2

#C342A2 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 59.1% C 0.194 H 339.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C342A2
RGBrgb(195, 66, 162)
HSLhsl(315, 52%, 51%)
HSVhsv(315, 66%, 76%)
CMYKcmyk(0%, 66.2%, 16.9%, 23.5%)
CIE-LABlab(49.63, 61.20, -25.19)
CIE-LCHlch(49.63, 66.18, 337.63°)
OKLaboklab(59.13% 0.1815 -0.068)
OKLCHoklch(59.13% 0.194 339.5)
XYZxyz(30.9762, 18.1100, 36.0396)
Luminance0.1811 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C342A2 #42C363
analogous
#A342C3 #C342A2 #C34261
triadic
#C342A2 #A2C342 #42A2C3
tetradic
#C342A2 #C3A342 #42C363 #4261C3
square
#C342A2 #C3A342 #42C363 #4261C3
split-complementary
#C342A2 #61C342 #42C3A3
monochromatic
#692157 #98307D #C342A2 #D270B9 #E09FD0

Accessibility & contrast

On white

4.54
#C342A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#C342A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C342A2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C342A2#FFFFFF#000000##000000
##C342A21.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4969A5
Deuteranopia (green-blind)
#717D9F
Tritanopia (blue-blind)
#CE466C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c342a2;
/* rgb */ color: rgb(195, 66, 162);
/* oklch */ color: oklch(59.1% 0.194 339.5);
Tailwind
colors: {
  custom: {
    50: '#d980bd',
    500: '#c342a2',
    950: '#000000',
  },
}
SCSS
$custom: #c342a2;
$custom-light: #d980bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c342a2",
  "rgb": {
    "r": 195,
    "g": 66,
    "b": 162
  },
  "hsl": {
    "h": 315.349,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59125,
    "c": 0.19384,
    "h": 339.5
  },
  "luminance": 0.18107
}

Semantic roles & 50–950 ramp

primary
#C342A2
secondary
#94CDA2
accent
#DB714D
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C342A2

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

Preview Lab → · Contrast checker → · Palette generator →

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