#C538A2#C538A2

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

Color values

HEX#C538A2
RGBrgb(197, 56, 162)
HSLhsl(315, 56%, 50%)
HSVhsv(315, 72%, 77%)
CMYKcmyk(0%, 71.6%, 17.8%, 22.7%)
CIE-LABlab(48.65, 65.38, -26.69)
CIE-LCHlch(48.65, 70.61, 337.79°)
OKLaboklab(58.48% 0.1946 -0.0721)
OKLCHoklch(58.48% 0.207 339.7)
XYZxyz(30.9625, 17.3103, 35.8860)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C538A2 #38C55B
analogous
#A238C5 #C538A2 #C5385B
triadic
#C538A2 #A2C538 #38A2C5
tetradic
#C538A2 #C5A238 #38C55B #385BC5
square
#C538A2 #C5A238 #38C55B #385BC5
split-complementary
#C538A2 #5BC538 #38C5A2
monochromatic
#661D54 #952A7B #C538A2 #D467B9 #E196CF

Accessibility & contrast

On white

4.71
#C538A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#C538A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C538A2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C538A2#FFFFFF#000000##FFFFFF
##C538A21.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4165A5
Deuteranopia (green-blind)
#6E7C9F
Tritanopia (blue-blind)
#D03D68
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c538a2;
/* rgb */ color: rgb(197, 56, 162);
/* oklch */ color: oklch(58.5% 0.207 339.7);
Tailwind
colors: {
  custom: {
    50: '#da7bbe',
    500: '#c538a2',
    950: '#000000',
  },
}
SCSS
$custom: #c538a2;
$custom-light: #da7bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#c538a2",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 162
  },
  "hsl": {
    "h": 314.894,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58475,
    "c": 0.20747,
    "h": 339.7
  },
  "luminance": 0.17307
}

Semantic roles & 50–950 ramp

primary
#C538A2
secondary
#8CCD9C
accent
#DF6E49
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C538A2

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

Preview Lab → · Contrast checker → · Palette generator →

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