#C538AD#C538AD

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

Color values

HEX#C538AD
RGBrgb(197, 56, 173)
HSLhsl(310, 56%, 50%)
HSVhsv(310, 72%, 77%)
CMYKcmyk(0%, 71.6%, 12.2%, 22.7%)
CIE-LABlab(49.15, 66.94, -32.40)
CIE-LCHlch(49.15, 74.37, 334.17°)
OKLaboklab(59% 0.1959 -0.0883)
OKLCHoklch(59% 0.215 335.7)
XYZxyz(31.9834, 17.7186, 41.2626)
Luminance0.1772 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C538AD #38C550
analogous
#9738C5 #C538AD #C53866
triadic
#C538AD #ADC538 #38ADC5
tetradic
#C538AD #C59738 #38C550 #3866C5
square
#C538AD #C59738 #38C550 #3866C5
split-complementary
#C538AD #66C538 #38C597
monochromatic
#661D59 #952A83 #C538AD #D467C1 #E196D4

Accessibility & contrast

On white

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

On black

4.54
#C538AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C538AD#FFFFFF#000000##FFFFFF
##C538AD1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3967B0
Deuteranopia (green-blind)
#6A7CAA
Tritanopia (blue-blind)
#CF426E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c538ad;
/* rgb */ color: rgb(197, 56, 173);
/* oklch */ color: oklch(59.0% 0.215 335.7);
Tailwind
colors: {
  custom: {
    50: '#da7bc6',
    500: '#c538ad',
    950: '#000000',
  },
}
SCSS
$custom: #c538ad;
$custom-light: #da7bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#c538ad",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 310.213,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59004,
    "c": 0.21489,
    "h": 335.7
  },
  "luminance": 0.17716
}

Semantic roles & 50–950 ramp

primary
#C538AD
secondary
#8CCD97
accent
#DF6249
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C538AD

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

Preview Lab → · Contrast checker → · Palette generator →

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