#C538A7#C538A7

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

Color values

HEX#C538A7
RGBrgb(197, 56, 167)
HSLhsl(313, 56%, 50%)
HSVhsv(313, 72%, 77%)
CMYKcmyk(0%, 71.6%, 15.2%, 22.7%)
CIE-LABlab(48.87, 66.08, -29.30)
CIE-LCHlch(48.87, 72.28, 336.09°)
OKLaboklab(58.71% 0.1952 -0.0795)
OKLCHoklch(58.71% 0.211 337.8)
XYZxyz(31.4158, 17.4916, 38.2734)
Luminance0.1749 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C538A7 #38C556
analogous
#9D38C5 #C538A7 #C53861
triadic
#C538A7 #A7C538 #38A7C5
tetradic
#C538A7 #C59D38 #38C556 #3861C5
square
#C538A7 #C59D38 #38C556 #3861C5
split-complementary
#C538A7 #61C538 #38C59D
monochromatic
#661D56 #952A7F #C538A7 #D467BC #E196D1

Accessibility & contrast

On white

4.67
#C538A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#C538A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C538A7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C538A7#FFFFFF#000000##FFFFFF
##C538A71.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c538a7;
/* rgb */ color: rgb(197, 56, 167);
/* oklch */ color: oklch(58.7% 0.211 337.8);
Tailwind
colors: {
  custom: {
    50: '#da7bc1',
    500: '#c538a7',
    950: '#000000',
  },
}
SCSS
$custom: #c538a7;
$custom-light: #da7bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#c538a7",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 167
  },
  "hsl": {
    "h": 312.766,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58711,
    "c": 0.21079,
    "h": 337.8
  },
  "luminance": 0.17489
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C538A7

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

Preview Lab → · Contrast checker → · Palette generator →

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