#C631A6#C631A6

#C631A6 is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.2% C 0.218 H 338.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C631A6
RGBrgb(198, 49, 166)
HSLhsl(313, 60%, 48%)
HSVhsv(313, 75%, 78%)
CMYKcmyk(0%, 75.3%, 16.2%, 22.4%)
CIE-LABlab(48.21, 68.41, -29.73)
CIE-LCHlch(48.21, 74.60, 336.51°)
OKLaboklab(58.25% 0.2028 -0.0807)
OKLCHoklch(58.25% 0.218 338.3)
XYZxyz(31.2707, 16.9586, 37.6955)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C631A6 #31C651
analogous
#9B31C6 #C631A6 #C6315B
triadic
#C631A6 #A6C631 #31A6C6
tetradic
#C631A6 #C69B31 #31C651 #315BC6
square
#C631A6 #C69B31 #31C651 #315BC6
split-complementary
#C631A6 #5BC631 #31C69B
monochromatic
#641954 #95257D #C631A6 #D75DBD #E38ED1

Accessibility & contrast

On white

4.78
#C631A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C631A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C631A6
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C631A6#FFFFFF#000000##FFFFFF
##C631A61.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3864A9
Deuteranopia (green-blind)
#6B7BA3
Tritanopia (blue-blind)
#D13968
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c631a6;
/* rgb */ color: rgb(198, 49, 166);
/* oklch */ color: oklch(58.2% 0.218 338.3);
Tailwind
colors: {
  custom: {
    50: '#db78c0',
    500: '#c631a6',
    950: '#000000',
  },
}
SCSS
$custom: #c631a6;
$custom-light: #db78c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c631a6",
  "rgb": {
    "r": 198,
    "g": 49,
    "b": 166
  },
  "hsl": {
    "h": 312.886,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58247,
    "c": 0.21825,
    "h": 338.3
  },
  "luminance": 0.16956
}

Semantic roles & 50–950 ramp

primary
#C631A6
secondary
#85CE95
accent
#E36744
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #C631A6

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

Preview Lab → · Contrast checker → · Palette generator →

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