#C538A8#C538A8

#C538A8 is a mid, highly saturated pink. Relative luminance 0.175; OKLCH L 58.8% C 0.211 H 337.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#C538A8
RGBrgb(197, 56, 168)
HSLhsl(312, 56%, 50%)
HSVhsv(312, 72%, 77%)
CMYKcmyk(0%, 71.6%, 14.7%, 22.7%)
CIE-LABlab(48.92, 66.22, -29.82)
CIE-LCHlch(48.92, 72.62, 335.76°)
OKLaboklab(58.76% 0.1953 -0.081)
OKLCHoklch(58.76% 0.211 337.5)
XYZxyz(31.5086, 17.5287, 38.7621)
Luminance0.1753 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C538A8 #38C555
analogous
#9B38C5 #C538A8 #C53862
triadic
#C538A8 #A8C538 #38A8C5
tetradic
#C538A8 #C59B38 #38C555 #3862C5
square
#C538A8 #C59B38 #38C555 #3862C5
split-complementary
#C538A8 #62C538 #38C59B
monochromatic
#661D57 #952A7F #C538A8 #D467BD #E196D2

Accessibility & contrast

On white

4.66
#C538A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#C538A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C538A8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C538A8#FFFFFF#000000##FFFFFF
##C538A81.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D66AB
Deuteranopia (green-blind)
#6C7CA5
Tritanopia (blue-blind)
#D0406C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c538a8;
/* rgb */ color: rgb(197, 56, 168);
/* oklch */ color: oklch(58.8% 0.211 337.5);
Tailwind
colors: {
  custom: {
    50: '#da7bc2',
    500: '#c538a8',
    950: '#000000',
  },
}
SCSS
$custom: #c538a8;
$custom-light: #da7bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#c538a8",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 168
  },
  "hsl": {
    "h": 312.34,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58759,
    "c": 0.21146,
    "h": 337.5
  },
  "luminance": 0.17526
}

Semantic roles & 50–950 ramp

primary
#C538A8
secondary
#8CCD99
accent
#DF6849
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C538A8

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

Preview Lab → · Contrast checker → · Palette generator →

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