#C62AAA#C62AAA

#C62AAA is a mid, highly saturated pink. Relative luminance 0.166; OKLCH L 58.0% C 0.227 H 336.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C62AAA
RGBrgb(198, 42, 170)
HSLhsl(311, 65%, 47%)
HSVhsv(311, 79%, 78%)
CMYKcmyk(0%, 78.8%, 14.1%, 22.4%)
CIE-LABlab(47.71, 70.94, -32.88)
CIE-LCHlch(47.71, 78.19, 335.13°)
OKLaboklab(57.95% 0.2091 -0.0896)
OKLCHoklch(57.95% 0.227 336.8)
XYZxyz(31.3730, 16.5670, 39.5679)
Luminance0.1656 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C62AAA #2AC646
analogous
#942AC6 #C62AAA #C62A5C
triadic
#C62AAA #AAC62A #2AAAC6
tetradic
#C62AAA #C6942A #2AC646 #2A5CC6
square
#C62AAA #C6942A #2AC646 #2A5CC6
split-complementary
#C62AAA #5CC62A #2AC694
monochromatic
#611553 #941F7F #C62AAA #DA53C2 #E585D4

Accessibility & contrast

On white

4.87
#C62AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#C62AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C62AAA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C62AAA#FFFFFF#000000##FFFFFF
##C62AAA1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F62AD
Deuteranopia (green-blind)
#6779A6
Tritanopia (blue-blind)
#D13669
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c62aaa;
/* rgb */ color: rgb(198, 42, 170);
/* oklch */ color: oklch(58.0% 0.227 336.8);
Tailwind
colors: {
  custom: {
    50: '#dc76c3',
    500: '#c62aaa',
    950: '#000000',
  },
}
SCSS
$custom: #c62aaa;
$custom-light: #dc76c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c62aaa",
  "rgb": {
    "r": 198,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 310.769,
    "s": 65,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5795,
    "c": 0.22747,
    "h": 336.8
  },
  "luminance": 0.16564
}

Semantic roles & 50–950 ramp

primary
#C62AAA
secondary
#7DCE8C
accent
#E85E40
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A12
muted
#847C81

Preview Lab

Preview with #C62AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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