#C538AB#C538AB

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

Color values

HEX#C538AB
RGBrgb(197, 56, 171)
HSLhsl(311, 56%, 50%)
HSVhsv(311, 72%, 77%)
CMYKcmyk(0%, 71.6%, 13.2%, 22.7%)
CIE-LABlab(49.06, 66.65, -31.37)
CIE-LCHlch(49.06, 73.66, 334.80°)
OKLaboklab(58.9% 0.1957 -0.0854)
OKLCHoklch(58.9% 0.214 336.4)
XYZxyz(31.7913, 17.6418, 40.2511)
Luminance0.1764 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C538AB #38C552
analogous
#9938C5 #C538AB #C53865
triadic
#C538AB #ABC538 #38ABC5
tetradic
#C538AB #C59938 #38C552 #3865C5
square
#C538AB #C59938 #38C552 #3865C5
split-complementary
#C538AB #65C538 #38C599
monochromatic
#661D58 #952A82 #C538AB #D467C0 #E196D3

Accessibility & contrast

On white

4.64
#C538AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#C538AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C538AB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C538AB#FFFFFF#000000##FFFFFF
##C538AB1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B67AE
Deuteranopia (green-blind)
#6B7CA8
Tritanopia (blue-blind)
#CF416D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c538ab;
/* rgb */ color: rgb(197, 56, 171);
/* oklch */ color: oklch(58.9% 0.214 336.4);
Tailwind
colors: {
  custom: {
    50: '#da7bc4',
    500: '#c538ab',
    950: '#000000',
  },
}
SCSS
$custom: #c538ab;
$custom-light: #da7bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#c538ab",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 311.064,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58905,
    "c": 0.21351,
    "h": 336.4
  },
  "luminance": 0.17639
}

Semantic roles & 50–950 ramp

primary
#C538AB
secondary
#8CCD98
accent
#DF6449
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C538AB

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

Preview Lab → · Contrast checker → · Palette generator →

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