#C535A2#C535A2

#C535A2 is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.2% C 0.211 H 339.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C535A2
RGBrgb(197, 53, 162)
HSLhsl(315, 58%, 49%)
HSVhsv(315, 73%, 77%)
CMYKcmyk(0%, 73.1%, 17.8%, 22.7%)
CIE-LABlab(48.30, 66.38, -27.24)
CIE-LCHlch(48.30, 71.75, 337.69°)
OKLaboklab(58.22% 0.1976 -0.0736)
OKLCHoklch(58.22% 0.211 339.6)
XYZxyz(30.8215, 17.0282, 35.8390)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C535A2 #35C558
analogous
#A035C5 #C535A2 #C5355A
triadic
#C535A2 #A2C535 #35A2C5
tetradic
#C535A2 #C5A035 #35C558 #355AC5
square
#C535A2 #C5A035 #35C558 #355AC5
split-complementary
#C535A2 #5AC535 #35C5A0
monochromatic
#651B53 #95287A #C535A2 #D562B9 #E293CF

Accessibility & contrast

On white

4.77
#C535A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#C535A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C535A2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C535A2#FFFFFF#000000##FFFFFF
##C535A21.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E64A5
Deuteranopia (green-blind)
#6D7B9F
Tritanopia (blue-blind)
#D03A68
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c535a2;
/* rgb */ color: rgb(197, 53, 162);
/* oklch */ color: oklch(58.2% 0.211 339.6);
Tailwind
colors: {
  custom: {
    50: '#db7abe',
    500: '#c535a2',
    950: '#000000',
  },
}
SCSS
$custom: #c535a2;
$custom-light: #db7abe;
$custom-dark: #000000;
JSON
{
  "hex": "#c535a2",
  "rgb": {
    "r": 197,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 314.583,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58219,
    "c": 0.21084,
    "h": 339.6
  },
  "luminance": 0.17025
}

Semantic roles & 50–950 ramp

primary
#C535A2
secondary
#89CD99
accent
#E16C47
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C535A2

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

Preview Lab → · Contrast checker → · Palette generator →

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