#C638AC#C638AC

#C638AC is a mid, highly saturated pink. Relative luminance 0.178; OKLCH L 59.1% C 0.215 H 336.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#C638AC
RGBrgb(198, 56, 172)
HSLhsl(311, 56%, 50%)
HSVhsv(311, 72%, 78%)
CMYKcmyk(0%, 71.7%, 13.1%, 22.4%)
CIE-LABlab(49.27, 67.03, -31.61)
CIE-LCHlch(49.27, 74.11, 334.75°)
OKLaboklab(59.11% 0.1968 -0.0861)
OKLCHoklch(59.11% 0.215 336.4)
XYZxyz(32.1498, 17.8156, 40.7673)
Luminance0.1781 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C638AC #38C652
analogous
#9938C6 #C638AC #C63865
triadic
#C638AC #ACC638 #38ACC6
tetradic
#C638AC #C69938 #38C652 #3865C6
square
#C638AC #C69938 #38C652 #3865C6
split-complementary
#C638AC #65C638 #38C699
monochromatic
#671D59 #962B83 #C638AC #D467C0 #E297D4

Accessibility & contrast

On white

4.60
#C638AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#C638AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C638AC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C638AC#FFFFFF#000000##FFFFFF
##C638AC1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B67AF
Deuteranopia (green-blind)
#6B7DA9
Tritanopia (blue-blind)
#D0416E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c638ac;
/* rgb */ color: rgb(198, 56, 172);
/* oklch */ color: oklch(59.1% 0.215 336.4);
Tailwind
colors: {
  custom: {
    50: '#db7cc5',
    500: '#c638ac',
    950: '#000000',
  },
}
SCSS
$custom: #c638ac;
$custom-light: #db7cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#c638ac",
  "rgb": {
    "r": 198,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 310.986,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.59106,
    "c": 0.21478,
    "h": 336.4
  },
  "luminance": 0.17813
}

Semantic roles & 50–950 ramp

primary
#C638AC
secondary
#8DCD99
accent
#DF6449
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C638AC

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

Preview Lab → · Contrast checker → · Palette generator →

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