#C534A6#C534A6

#C534A6 is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.3% C 0.215 H 338.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C534A6
RGBrgb(197, 52, 166)
HSLhsl(313, 58%, 49%)
HSVhsv(313, 74%, 77%)
CMYKcmyk(0%, 73.6%, 15.7%, 22.7%)
CIE-LABlab(48.36, 67.25, -29.50)
CIE-LCHlch(48.36, 73.44, 336.31°)
OKLaboklab(58.33% 0.1991 -0.08)
OKLCHoklch(58.33% 0.215 338.1)
XYZxyz(31.1376, 17.0824, 37.7264)
Luminance0.1708 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C534A6 #34C553
analogous
#9C34C5 #C534A6 #C5345D
triadic
#C534A6 #A6C534 #34A6C5
tetradic
#C534A6 #C59C34 #34C553 #345DC5
square
#C534A6 #C59C34 #34C553 #345DC5
split-complementary
#C534A6 #5DC534 #34C59C
monochromatic
#641A54 #95277D #C534A6 #D561BC #E291D1

Accessibility & contrast

On white

4.76
#C534A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#C534A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C534A6
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C534A6#FFFFFF#000000##FFFFFF
##C534A61.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B64A9
Deuteranopia (green-blind)
#6B7BA3
Tritanopia (blue-blind)
#D03C69
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c534a6;
/* rgb */ color: rgb(197, 52, 166);
/* oklch */ color: oklch(58.3% 0.215 338.1);
Tailwind
colors: {
  custom: {
    50: '#db7ac0',
    500: '#c534a6',
    950: '#000000',
  },
}
SCSS
$custom: #c534a6;
$custom-light: #db7ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#c534a6",
  "rgb": {
    "r": 197,
    "g": 52,
    "b": 166
  },
  "hsl": {
    "h": 312.828,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58327,
    "c": 0.21454,
    "h": 338.1
  },
  "luminance": 0.17079
}

Semantic roles & 50–950 ramp

primary
#C534A6
secondary
#88CD97
accent
#E16846
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C534A6

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

Preview Lab → · Contrast checker → · Palette generator →

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