#C545A4#C545A4

#C545A4 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.8% C 0.193 H 339.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C545A4
RGBrgb(197, 69, 164)
HSLhsl(315, 52%, 52%)
HSVhsv(315, 65%, 77%)
CMYKcmyk(0%, 65%, 16.8%, 22.7%)
CIE-LABlab(50.46, 60.83, -25.06)
CIE-LCHlch(50.46, 65.79, 337.61°)
OKLaboklab(59.83% 0.1803 -0.0676)
OKLCHoklch(59.83% 0.193 339.5)
XYZxyz(31.8556, 18.8098, 37.0677)
Luminance0.1881 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C545A4 #45C566
analogous
#A645C5 #C545A4 #C54564
triadic
#C545A4 #A4C545 #45A4C5
tetradic
#C545A4 #C5A645 #45C566 #4564C5
square
#C545A4 #C5A645 #45C566 #4564C5
split-complementary
#C545A4 #64C545 #45C5A6
monochromatic
#6D225A #9C3180 #C545A4 #D474BB #E2A2D2

Accessibility & contrast

On white

4.41
#C545A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#C545A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C545A4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C545A4#FFFFFF#000000##000000
##C545A41.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6BA7
Deuteranopia (green-blind)
#737FA1
Tritanopia (blue-blind)
#D0496E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c545a4;
/* rgb */ color: rgb(197, 69, 164);
/* oklch */ color: oklch(59.8% 0.193 339.5);
Tailwind
colors: {
  custom: {
    50: '#da81bf',
    500: '#c545a4',
    950: '#000000',
  },
}
SCSS
$custom: #c545a4;
$custom-light: #da81bf;
$custom-dark: #000000;
JSON
{
  "hex": "#c545a4",
  "rgb": {
    "r": 197,
    "g": 69,
    "b": 164
  },
  "hsl": {
    "h": 315.469,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59825,
    "c": 0.19257,
    "h": 339.5
  },
  "luminance": 0.18807
}

Semantic roles & 50–950 ramp

primary
#C545A4
secondary
#97CFA5
accent
#DC714C
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C545A4

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

Preview Lab → · Contrast checker → · Palette generator →

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