#C631A8#C631A8

#C631A8 is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.3% C 0.220 H 337.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C631A8
RGBrgb(198, 49, 168)
HSLhsl(312, 60%, 48%)
HSVhsv(312, 75%, 78%)
CMYKcmyk(0%, 75.3%, 15.2%, 22.4%)
CIE-LABlab(48.30, 68.69, -30.77)
CIE-LCHlch(48.30, 75.27, 335.87°)
OKLaboklab(58.34% 0.203 -0.0836)
OKLCHoklch(58.34% 0.22 337.6)
XYZxyz(31.4556, 17.0325, 38.6692)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C631A8 #31C64F
analogous
#9A31C6 #C631A8 #C6315D
triadic
#C631A8 #A8C631 #31A8C6
tetradic
#C631A8 #C69A31 #31C64F #315DC6
square
#C631A8 #C69A31 #31C64F #315DC6
split-complementary
#C631A8 #5DC631 #31C69A
monochromatic
#641955 #95257E #C631A8 #D75DBE #E38ED2

Accessibility & contrast

On white

4.77
#C631A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#C631A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C631A8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C631A8#FFFFFF#000000##FFFFFF
##C631A81.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3764AB
Deuteranopia (green-blind)
#6A7BA5
Tritanopia (blue-blind)
#D13A6A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c631a8;
/* rgb */ color: rgb(198, 49, 168);
/* oklch */ color: oklch(58.3% 0.220 337.6);
Tailwind
colors: {
  custom: {
    50: '#db79c2',
    500: '#c631a8',
    950: '#000000',
  },
}
SCSS
$custom: #c631a8;
$custom-light: #db79c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c631a8",
  "rgb": {
    "r": 198,
    "g": 49,
    "b": 168
  },
  "hsl": {
    "h": 312.081,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58344,
    "c": 0.21956,
    "h": 337.6
  },
  "luminance": 0.1703
}

Semantic roles & 50–950 ramp

primary
#C631A8
secondary
#85CE94
accent
#E36444
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #C631A8

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

Preview Lab → · Contrast checker → · Palette generator →

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