#C538A4#C538A4

#C538A4 is a mid, highly saturated pink. Relative luminance 0.174; OKLCH L 58.6% C 0.209 H 338.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#C538A4
RGBrgb(197, 56, 164)
HSLhsl(314, 56%, 50%)
HSVhsv(314, 72%, 77%)
CMYKcmyk(0%, 71.6%, 16.8%, 22.7%)
CIE-LABlab(48.74, 65.66, -27.73)
CIE-LCHlch(48.74, 71.27, 337.10°)
OKLaboklab(58.57% 0.1948 -0.075)
OKLCHoklch(58.57% 0.209 338.9)
XYZxyz(31.1417, 17.3820, 36.8297)
Luminance0.1738 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C538A4 #38C559
analogous
#A038C5 #C538A4 #C5385D
triadic
#C538A4 #A4C538 #38A4C5
tetradic
#C538A4 #C5A038 #38C559 #385DC5
square
#C538A4 #C5A038 #38C559 #385DC5
split-complementary
#C538A4 #5DC538 #38C5A0
monochromatic
#661D55 #952A7C #C538A4 #D467BA #E196D0

Accessibility & contrast

On white

4.69
#C538A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#C538A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C538A4
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C538A4#FFFFFF#000000##FFFFFF
##C538A41.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4066A7
Deuteranopia (green-blind)
#6E7CA1
Tritanopia (blue-blind)
#D03E6A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c538a4;
/* rgb */ color: rgb(197, 56, 164);
/* oklch */ color: oklch(58.6% 0.209 338.9);
Tailwind
colors: {
  custom: {
    50: '#da7bbf',
    500: '#c538a4',
    950: '#000000',
  },
}
SCSS
$custom: #c538a4;
$custom-light: #da7bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#c538a4",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 164
  },
  "hsl": {
    "h": 314.043,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58568,
    "c": 0.20879,
    "h": 338.9
  },
  "luminance": 0.17379
}

Semantic roles & 50–950 ramp

primary
#C538A4
secondary
#8CCD9B
accent
#DF6C49
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C538A4

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

Preview Lab → · Contrast checker → · Palette generator →

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