#C538A6#C538A6

#C538A6 is a mid, highly saturated pink. Relative luminance 0.175; OKLCH L 58.7% C 0.210 H 338.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C538A6
RGBrgb(197, 56, 166)
HSLhsl(313, 56%, 50%)
HSVhsv(313, 72%, 77%)
CMYKcmyk(0%, 71.6%, 15.7%, 22.7%)
CIE-LABlab(48.83, 65.94, -28.78)
CIE-LCHlch(48.83, 71.94, 336.42°)
OKLaboklab(58.66% 0.1951 -0.078)
OKLCHoklch(58.66% 0.21 338.2)
XYZxyz(31.3237, 17.4548, 37.7884)
Luminance0.1745 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C538A6 #38C557
analogous
#9D38C5 #C538A6 #C53860
triadic
#C538A6 #A6C538 #38A6C5
tetradic
#C538A6 #C59D38 #38C557 #3860C5
square
#C538A6 #C59D38 #38C557 #3860C5
split-complementary
#C538A6 #60C538 #38C59D
monochromatic
#661D56 #952A7E #C538A6 #D467BC #E196D1

Accessibility & contrast

On white

4.68
#C538A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#C538A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C538A6
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C538A6#FFFFFF#000000##FFFFFF
##C538A61.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E66A9
Deuteranopia (green-blind)
#6D7CA3
Tritanopia (blue-blind)
#D03F6B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c538a6;
/* rgb */ color: rgb(197, 56, 166);
/* oklch */ color: oklch(58.7% 0.210 338.2);
Tailwind
colors: {
  custom: {
    50: '#da7bc0',
    500: '#c538a6',
    950: '#000000',
  },
}
SCSS
$custom: #c538a6;
$custom-light: #da7bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#c538a6",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 166
  },
  "hsl": {
    "h": 313.191,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58663,
    "c": 0.21012,
    "h": 338.2
  },
  "luminance": 0.17452
}

Semantic roles & 50–950 ramp

primary
#C538A6
secondary
#8CCD9A
accent
#DF6A49
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C538A6

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

Preview Lab → · Contrast checker → · Palette generator →

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