#C538A0#C538A0

#C538A0 is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.4% C 0.206 H 340.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#C538A0
RGBrgb(197, 56, 160)
HSLhsl(316, 56%, 50%)
HSVhsv(316, 72%, 77%)
CMYKcmyk(0%, 71.6%, 18.8%, 22.7%)
CIE-LABlab(48.56, 65.10, -25.64)
CIE-LCHlch(48.56, 69.97, 338.51°)
OKLaboklab(58.38% 0.1943 -0.0691)
OKLCHoklch(58.38% 0.206 340.4)
XYZxyz(30.7862, 17.2397, 34.9571)
Luminance0.1724 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C538A0 #38C55D
analogous
#A438C5 #C538A0 #C53859
triadic
#C538A0 #A0C538 #38A0C5
tetradic
#C538A0 #C5A438 #38C55D #3859C5
square
#C538A0 #C5A438 #38C55D #3859C5
split-complementary
#C538A0 #59C538 #38C5A4
monochromatic
#661D53 #952A79 #C538A0 #D467B7 #E196CE

Accessibility & contrast

On white

4.72
#C538A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#C538A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C538A0
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C538A0#FFFFFF#000000##FFFFFF
##C538A01.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4265A3
Deuteranopia (green-blind)
#6F7B9D
Tritanopia (blue-blind)
#D13C67
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c538a0;
/* rgb */ color: rgb(197, 56, 160);
/* oklch */ color: oklch(58.4% 0.206 340.4);
Tailwind
colors: {
  custom: {
    50: '#db7bbc',
    500: '#c538a0',
    950: '#000000',
  },
}
SCSS
$custom: #c538a0;
$custom-light: #db7bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#c538a0",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 160
  },
  "hsl": {
    "h": 315.745,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58382,
    "c": 0.20618,
    "h": 340.4
  },
  "luminance": 0.17237
}

Semantic roles & 50–950 ramp

primary
#C538A0
secondary
#8CCD9D
accent
#DF7049
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C538A0

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

Preview Lab → · Contrast checker → · Palette generator →

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