#C638AA#C638AA

#C638AA is a mid, highly saturated pink. Relative luminance 0.177; OKLCH L 59.0% C 0.213 H 337.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C638AA
RGBrgb(198, 56, 170)
HSLhsl(312, 56%, 50%)
HSVhsv(312, 72%, 78%)
CMYKcmyk(0%, 71.7%, 14.1%, 22.4%)
CIE-LABlab(49.18, 66.75, -30.58)
CIE-LCHlch(49.18, 73.42, 335.38°)
OKLaboklab(59.01% 0.1966 -0.0831)
OKLCHoklch(59.01% 0.213 337.1)
XYZxyz(31.9592, 17.7393, 39.7633)
Luminance0.1774 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C638AA #38C654
analogous
#9B38C6 #C638AA #C63863
triadic
#C638AA #AAC638 #38AAC6
tetradic
#C638AA #C69B38 #38C654 #3863C6
square
#C638AA #C69B38 #38C654 #3863C6
split-complementary
#C638AA #63C638 #38C69B
monochromatic
#671D58 #962B81 #C638AA #D467BF #E297D3

Accessibility & contrast

On white

4.62
#C638AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#C638AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C638AA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C638AA#FFFFFF#000000##FFFFFF
##C638AA1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C67AD
Deuteranopia (green-blind)
#6C7DA7
Tritanopia (blue-blind)
#D0406D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c638aa;
/* rgb */ color: rgb(198, 56, 170);
/* oklch */ color: oklch(59.0% 0.213 337.1);
Tailwind
colors: {
  custom: {
    50: '#db7bc3',
    500: '#c638aa',
    950: '#000000',
  },
}
SCSS
$custom: #c638aa;
$custom-light: #db7bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#c638aa",
  "rgb": {
    "r": 198,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 311.831,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.59008,
    "c": 0.21341,
    "h": 337.1
  },
  "luminance": 0.17736
}

Semantic roles & 50–950 ramp

primary
#C638AA
secondary
#8DCD99
accent
#DF6649
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C638AA

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

Preview Lab → · Contrast checker → · Palette generator →

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