#C631A9#C631A9

#C631A9 is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.4% C 0.220 H 337.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C631A9
RGBrgb(198, 49, 169)
HSLhsl(312, 60%, 48%)
HSVhsv(312, 75%, 78%)
CMYKcmyk(0%, 75.3%, 14.6%, 22.4%)
CIE-LABlab(48.35, 68.83, -31.29)
CIE-LCHlch(48.35, 75.61, 335.56°)
OKLaboklab(58.39% 0.2031 -0.0851)
OKLCHoklch(58.39% 0.22 337.3)
XYZxyz(31.5491, 17.0699, 39.1617)
Luminance0.1707 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C631A9 #31C64E
analogous
#9831C6 #C631A9 #C6315E
triadic
#C631A9 #A9C631 #31A9C6
tetradic
#C631A9 #C69831 #31C64E #315EC6
square
#C631A9 #C69831 #31C64E #315EC6
split-complementary
#C631A9 #5EC631 #31C698
monochromatic
#641955 #95257F #C631A9 #D75DBF #E38ED3

Accessibility & contrast

On white

4.76
#C631A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C631A9
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C631A9#FFFFFF#000000##FFFFFF
##C631A91.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3664AC
Deuteranopia (green-blind)
#6A7BA6
Tritanopia (blue-blind)
#D13A6A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c631a9;
/* rgb */ color: rgb(198, 49, 169);
/* oklch */ color: oklch(58.4% 0.220 337.3);
Tailwind
colors: {
  custom: {
    50: '#db79c3',
    500: '#c631a9',
    950: '#000000',
  },
}
SCSS
$custom: #c631a9;
$custom-light: #db79c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c631a9",
  "rgb": {
    "r": 198,
    "g": 49,
    "b": 169
  },
  "hsl": {
    "h": 311.678,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58393,
    "c": 0.22022,
    "h": 337.3
  },
  "luminance": 0.17067
}

Semantic roles & 50–950 ramp

primary
#C631A9
secondary
#85CE93
accent
#E36344
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A12
muted
#847C81

Preview Lab

Preview with #C631A9

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

Preview Lab → · Contrast checker → · Palette generator →

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