#C538A3#C538A3

#C538A3 is a mid, highly saturated pink. Relative luminance 0.173; OKLCH L 58.5% C 0.208 H 339.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#C538A3
RGBrgb(197, 56, 163)
HSLhsl(314, 56%, 50%)
HSVhsv(314, 72%, 77%)
CMYKcmyk(0%, 71.6%, 17.3%, 22.7%)
CIE-LABlab(48.69, 65.52, -27.21)
CIE-LCHlch(48.69, 70.94, 337.45°)
OKLaboklab(58.52% 0.1947 -0.0736)
OKLCHoklch(58.52% 0.208 339.3)
XYZxyz(31.0518, 17.3460, 36.3560)
Luminance0.1734 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C538A3 #38C55A
analogous
#A138C5 #C538A3 #C5385D
triadic
#C538A3 #A3C538 #38A3C5
tetradic
#C538A3 #C5A138 #38C55A #385DC5
square
#C538A3 #C5A138 #38C55A #385DC5
split-complementary
#C538A3 #5DC538 #38C5A1
monochromatic
#661D54 #952A7C #C538A3 #D467B9 #E196CF

Accessibility & contrast

On white

4.70
#C538A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#C538A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C538A3
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C538A3#FFFFFF#000000##FFFFFF
##C538A31.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4065A6
Deuteranopia (green-blind)
#6E7CA0
Tritanopia (blue-blind)
#D03D69
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c538a3;
/* rgb */ color: rgb(197, 56, 163);
/* oklch */ color: oklch(58.5% 0.208 339.3);
Tailwind
colors: {
  custom: {
    50: '#da7bbe',
    500: '#c538a3',
    950: '#000000',
  },
}
SCSS
$custom: #c538a3;
$custom-light: #da7bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#c538a3",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 163
  },
  "hsl": {
    "h": 314.468,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58521,
    "c": 0.20813,
    "h": 339.3
  },
  "luminance": 0.17343
}

Semantic roles & 50–950 ramp

primary
#C538A3
secondary
#8CCD9C
accent
#DF6D49
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C538A3

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

Preview Lab → · Contrast checker → · Palette generator →

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