#C631A2#C631A2

#C631A2 is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 58.1% C 0.216 H 339.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C631A2
RGBrgb(198, 49, 162)
HSLhsl(314, 60%, 48%)
HSVhsv(314, 75%, 78%)
CMYKcmyk(0%, 75.3%, 18.2%, 22.4%)
CIE-LABlab(48.02, 67.87, -27.64)
CIE-LCHlch(48.02, 73.28, 337.84°)
OKLaboklab(58.06% 0.2023 -0.0747)
OKLCHoklch(58.06% 0.216 339.7)
XYZxyz(30.9095, 16.8141, 35.7930)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C631A2 #31C655
analogous
#9F31C6 #C631A2 #C63157
triadic
#C631A2 #A2C631 #31A2C6
tetradic
#C631A2 #C69F31 #31C655 #3157C6
square
#C631A2 #C69F31 #31C655 #3157C6
split-complementary
#C631A2 #57C631 #31C69F
monochromatic
#641952 #95257A #C631A2 #D75DBA #E38ECF

Accessibility & contrast

On white

4.81
#C631A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#C631A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C631A2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C631A2#FFFFFF#000000##FFFFFF
##C631A21.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B63A5
Deuteranopia (green-blind)
#6D7A9F
Tritanopia (blue-blind)
#D23766
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c631a2;
/* rgb */ color: rgb(198, 49, 162);
/* oklch */ color: oklch(58.1% 0.216 339.7);
Tailwind
colors: {
  custom: {
    50: '#db78be',
    500: '#c631a2',
    950: '#000000',
  },
}
SCSS
$custom: #c631a2;
$custom-light: #db78be;
$custom-dark: #000000;
JSON
{
  "hex": "#c631a2",
  "rgb": {
    "r": 198,
    "g": 49,
    "b": 162
  },
  "hsl": {
    "h": 314.497,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58055,
    "c": 0.21567,
    "h": 339.7
  },
  "luminance": 0.16811
}

Semantic roles & 50–950 ramp

primary
#C631A2
secondary
#85CE97
accent
#E36B44
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #C631A2

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

Preview Lab → · Contrast checker → · Palette generator →

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