#C538A9#C538A9

#C538A9 is a mid, highly saturated pink. Relative luminance 0.176; OKLCH L 58.8% C 0.212 H 337.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C538A9
RGBrgb(197, 56, 169)
HSLhsl(312, 56%, 50%)
HSVhsv(312, 72%, 77%)
CMYKcmyk(0%, 71.6%, 14.2%, 22.7%)
CIE-LABlab(48.97, 66.36, -30.33)
CIE-LCHlch(48.97, 72.97, 335.43°)
OKLaboklab(58.81% 0.1955 -0.0825)
OKLCHoklch(58.81% 0.212 337.1)
XYZxyz(31.6021, 17.5661, 39.2547)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C538A9 #38C554
analogous
#9B38C5 #C538A9 #C53863
triadic
#C538A9 #A9C538 #38A9C5
tetradic
#C538A9 #C59B38 #38C554 #3863C5
square
#C538A9 #C59B38 #38C554 #3863C5
split-complementary
#C538A9 #63C538 #38C59B
monochromatic
#661D57 #952A80 #C538A9 #D467BE #E196D2

Accessibility & contrast

On white

4.65
#C538A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#C538A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C538A9
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C538A9#FFFFFF#000000##FFFFFF
##C538A91.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C67AC
Deuteranopia (green-blind)
#6C7CA6
Tritanopia (blue-blind)
#CF406C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c538a9;
/* rgb */ color: rgb(197, 56, 169);
/* oklch */ color: oklch(58.8% 0.212 337.1);
Tailwind
colors: {
  custom: {
    50: '#da7bc3',
    500: '#c538a9',
    950: '#000000',
  },
}
SCSS
$custom: #c538a9;
$custom-light: #da7bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#c538a9",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 169
  },
  "hsl": {
    "h": 311.915,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58807,
    "c": 0.21214,
    "h": 337.1
  },
  "luminance": 0.17563
}

Semantic roles & 50–950 ramp

primary
#C538A9
secondary
#8CCD99
accent
#DF6749
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C538A9

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

Preview Lab → · Contrast checker → · Palette generator →

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