#C631AB#C631AB

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

Color values

HEX#C631AB
RGBrgb(198, 49, 171)
HSLhsl(311, 60%, 48%)
HSVhsv(311, 75%, 78%)
CMYKcmyk(0%, 75.3%, 13.6%, 22.4%)
CIE-LABlab(48.44, 69.11, -32.32)
CIE-LCHlch(48.44, 76.30, 334.94°)
OKLaboklab(58.49% 0.2033 -0.0881)
OKLCHoklch(58.49% 0.222 336.6)
XYZxyz(31.7383, 17.1456, 40.1581)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C631AB #31C64C
analogous
#9631C6 #C631AB #C63161
triadic
#C631AB #ABC631 #31ABC6
tetradic
#C631AB #C69631 #31C64C #3161C6
square
#C631AB #C69631 #31C64C #3161C6
split-complementary
#C631AB #61C631 #31C696
monochromatic
#641956 #952581 #C631AB #D75DC1 #E38ED4

Accessibility & contrast

On white

4.74
#C631AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C631AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C631AB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C631AB#FFFFFF#000000##FFFFFF
##C631AB1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3465AE
Deuteranopia (green-blind)
#697BA8
Tritanopia (blue-blind)
#D03B6B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c631ab;
/* rgb */ color: rgb(198, 49, 171);
/* oklch */ color: oklch(58.5% 0.222 336.6);
Tailwind
colors: {
  custom: {
    50: '#db79c4',
    500: '#c631ab',
    950: '#000000',
  },
}
SCSS
$custom: #c631ab;
$custom-light: #db79c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c631ab",
  "rgb": {
    "r": 198,
    "g": 49,
    "b": 171
  },
  "hsl": {
    "h": 310.872,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58493,
    "c": 0.22155,
    "h": 336.6
  },
  "luminance": 0.17143
}

Semantic roles & 50–950 ramp

primary
#C631AB
secondary
#85CE92
accent
#E36144
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A12
muted
#847C81

Preview Lab

Preview with #C631AB

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

Preview Lab → · Contrast checker → · Palette generator →

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