#C538AA#C538AA

#C538AA is a mid, highly saturated pink. Relative luminance 0.176; OKLCH L 58.9% C 0.213 H 336.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C538AA
RGBrgb(197, 56, 170)
HSLhsl(311, 56%, 50%)
HSVhsv(311, 72%, 77%)
CMYKcmyk(0%, 71.6%, 13.7%, 22.7%)
CIE-LABlab(49.01, 66.51, -30.85)
CIE-LCHlch(49.01, 73.32, 335.11°)
OKLaboklab(58.86% 0.1956 -0.0839)
OKLCHoklch(58.86% 0.213 336.8)
XYZxyz(31.6964, 17.6038, 39.7510)
Luminance0.1760 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C538AA #38C553
analogous
#9938C5 #C538AA #C53864
triadic
#C538AA #AAC538 #38AAC5
tetradic
#C538AA #C59938 #38C553 #3864C5
square
#C538AA #C59938 #38C553 #3864C5
split-complementary
#C538AA #64C538 #38C599
monochromatic
#661D58 #952A81 #C538AA #D467BF #E196D3

Accessibility & contrast

On white

4.65
#C538AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#C538AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C538AA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C538AA#FFFFFF#000000##FFFFFF
##C538AA1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B67AD
Deuteranopia (green-blind)
#6B7CA7
Tritanopia (blue-blind)
#CF416D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c538aa;
/* rgb */ color: rgb(197, 56, 170);
/* oklch */ color: oklch(58.9% 0.213 336.8);
Tailwind
colors: {
  custom: {
    50: '#da7bc3',
    500: '#c538aa',
    950: '#000000',
  },
}
SCSS
$custom: #c538aa;
$custom-light: #da7bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#c538aa",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 311.489,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58856,
    "c": 0.21282,
    "h": 336.8
  },
  "luminance": 0.17601
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C538AA

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

Preview Lab → · Contrast checker → · Palette generator →

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