#C62AA8#C62AA8

#C62AA8 is a mid, highly saturated pink. Relative luminance 0.165; OKLCH L 57.8% C 0.226 H 337.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#C62AA8
RGBrgb(198, 42, 168)
HSLhsl(312, 65%, 47%)
HSVhsv(312, 79%, 78%)
CMYKcmyk(0%, 78.8%, 15.2%, 22.4%)
CIE-LABlab(47.61, 70.66, -31.84)
CIE-LCHlch(47.61, 77.51, 335.74°)
OKLaboklab(57.85% 0.2089 -0.0866)
OKLCHoklch(57.85% 0.226 337.5)
XYZxyz(31.1852, 16.4919, 38.5791)
Luminance0.1649 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C62AA8 #2AC648
analogous
#962AC6 #C62AA8 #C62A5A
triadic
#C62AA8 #A8C62A #2AA8C6
tetradic
#C62AA8 #C6962A #2AC648 #2A5AC6
square
#C62AA8 #C6962A #2AC648 #2A5AC6
split-complementary
#C62AA8 #5AC62A #2AC696
monochromatic
#611552 #941F7D #C62AA8 #DA53C0 #E585D3

Accessibility & contrast

On white

4.89
#C62AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#C62AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C62AA8
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C62AA8#FFFFFF#000000##FFFFFF
##C62AA81.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3162AB
Deuteranopia (green-blind)
#6879A4
Tritanopia (blue-blind)
#D13568
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c62aa8;
/* rgb */ color: rgb(198, 42, 168);
/* oklch */ color: oklch(57.8% 0.226 337.5);
Tailwind
colors: {
  custom: {
    50: '#dc76c2',
    500: '#c62aa8',
    950: '#000000',
  },
}
SCSS
$custom: #c62aa8;
$custom-light: #dc76c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c62aa8",
  "rgb": {
    "r": 198,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 311.538,
    "s": 65,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57849,
    "c": 0.22618,
    "h": 337.5
  },
  "luminance": 0.16489
}

Semantic roles & 50–950 ramp

primary
#C62AA8
secondary
#7DCE8D
accent
#E86040
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #C62AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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