#C351A2#C351A2

#C351A2 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.8% C 0.173 H 340.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#C351A2
RGBrgb(195, 81, 162)
HSLhsl(317, 49%, 54%)
HSVhsv(317, 58%, 76%)
CMYKcmyk(0%, 58.5%, 16.9%, 23.5%)
CIE-LABlab(51.95, 54.85, -21.62)
CIE-LCHlch(51.95, 58.95, 338.49°)
OKLaboklab(60.83% 0.1625 -0.058)
OKLCHoklch(60.83% 0.173 340.3)
XYZxyz(31.9703, 20.0983, 36.3710)
Luminance0.2010 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C351A2 #51C372
analogous
#AB51C3 #C351A2 #C35169
triadic
#C351A2 #A2C351 #51A2C3
tetradic
#C351A2 #C3AB51 #51C372 #5169C3
square
#C351A2 #C3AB51 #51C372 #5169C3
split-complementary
#C351A2 #69C351 #51C3AB
monochromatic
#72275D #A03781 #C351A2 #D37FBA #E2ACD3

Accessibility & contrast

On white

4.18
#C351A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#C351A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C351A2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C351A2#FFFFFF#000000##000000
##C351A21.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5770A5
Deuteranopia (green-blind)
#78839F
Tritanopia (blue-blind)
#CE5372
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c351a2;
/* rgb */ color: rgb(195, 81, 162);
/* oklch */ color: oklch(60.8% 0.173 340.3);
Tailwind
colors: {
  custom: {
    50: '#d888bd',
    500: '#c351a2',
    950: '#000000',
  },
}
SCSS
$custom: #c351a2;
$custom-light: #d888bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c351a2",
  "rgb": {
    "r": 195,
    "g": 81,
    "b": 162
  },
  "hsl": {
    "h": 317.368,
    "s": 48.718,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60827,
    "c": 0.17253,
    "h": 340.3
  },
  "luminance": 0.20096
}

Semantic roles & 50–950 ramp

primary
#C351A2
secondary
#A0D0AE
accent
#D87750
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C351A2

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

Preview Lab → · Contrast checker → · Palette generator →

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