#C631AC#C631AC

#C631AC is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.5% C 0.222 H 336.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#C631AC
RGBrgb(198, 49, 172)
HSLhsl(310, 60%, 48%)
HSVhsv(310, 75%, 78%)
CMYKcmyk(0%, 75.3%, 13.1%, 22.4%)
CIE-LABlab(48.49, 69.25, -32.83)
CIE-LCHlch(48.49, 76.64, 334.63°)
OKLaboklab(58.54% 0.2034 -0.0895)
OKLCHoklch(58.54% 0.222 336.2)
XYZxyz(31.8339, 17.1839, 40.6620)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C631AC #31C64B
analogous
#9531C6 #C631AC #C63161
triadic
#C631AC #ACC631 #31ACC6
tetradic
#C631AC #C69531 #31C64B #3161C6
square
#C631AC #C69531 #31C64B #3161C6
split-complementary
#C631AC #61C631 #31C695
monochromatic
#641957 #952581 #C631AC #D75DC2 #E38ED4

Accessibility & contrast

On white

4.73
#C631AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#C631AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C631AC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C631AC#FFFFFF#000000##FFFFFF
##C631AC1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3465AF
Deuteranopia (green-blind)
#687BA9
Tritanopia (blue-blind)
#D03C6C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c631ac;
/* rgb */ color: rgb(198, 49, 172);
/* oklch */ color: oklch(58.5% 0.222 336.2);
Tailwind
colors: {
  custom: {
    50: '#db79c5',
    500: '#c631ac',
    950: '#000000',
  },
}
SCSS
$custom: #c631ac;
$custom-light: #db79c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c631ac",
  "rgb": {
    "r": 198,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 310.47,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58543,
    "c": 0.22221,
    "h": 336.2
  },
  "luminance": 0.17181
}

Semantic roles & 50–950 ramp

primary
#C631AC
secondary
#85CE92
accent
#E36044
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C631AC

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

Preview Lab → · Contrast checker → · Palette generator →

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