#C534A2#C534A2

#C534A2 is a mid, highly saturated pink. Relative luminance 0.169; OKLCH L 58.1% C 0.212 H 339.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C534A2
RGBrgb(197, 52, 162)
HSLhsl(314, 58%, 49%)
HSVhsv(314, 74%, 77%)
CMYKcmyk(0%, 73.6%, 17.8%, 22.7%)
CIE-LABlab(48.18, 66.70, -27.41)
CIE-LCHlch(48.18, 72.11, 337.66°)
OKLaboklab(58.14% 0.1986 -0.0741)
OKLCHoklch(58.14% 0.212 339.5)
XYZxyz(30.7763, 16.9379, 35.8239)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C534A2 #34C557
analogous
#A034C5 #C534A2 #C5345A
triadic
#C534A2 #A2C534 #34A2C5
tetradic
#C534A2 #C5A034 #34C557 #345AC5
square
#C534A2 #C5A034 #34C557 #345AC5
split-complementary
#C534A2 #5AC534 #34C5A0
monochromatic
#641A52 #95277A #C534A2 #D561B9 #E291CF

Accessibility & contrast

On white

4.79
#C534A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C534A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C534A2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C534A2#FFFFFF#000000##FFFFFF
##C534A21.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D64A5
Deuteranopia (green-blind)
#6D7B9F
Tritanopia (blue-blind)
#D03967
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c534a2;
/* rgb */ color: rgb(197, 52, 162);
/* oklch */ color: oklch(58.1% 0.212 339.5);
Tailwind
colors: {
  custom: {
    50: '#db79be',
    500: '#c534a2',
    950: '#000000',
  },
}
SCSS
$custom: #c534a2;
$custom-light: #db79be;
$custom-dark: #000000;
JSON
{
  "hex": "#c534a2",
  "rgb": {
    "r": 197,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 314.483,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58136,
    "c": 0.21193,
    "h": 339.5
  },
  "luminance": 0.16935
}

Semantic roles & 50–950 ramp

primary
#C534A2
secondary
#88CD99
accent
#E16C46
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C534A2

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

Preview Lab → · Contrast checker → · Palette generator →

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