#C545A5#C545A5

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

Color values

HEX#C545A5
RGBrgb(197, 69, 165)
HSLhsl(315, 52%, 52%)
HSVhsv(315, 65%, 77%)
CMYKcmyk(0%, 65%, 16.2%, 22.7%)
CIE-LABlab(50.51, 60.97, -25.58)
CIE-LCHlch(50.51, 66.12, 337.24°)
OKLaboklab(59.87% 0.1805 -0.0691)
OKLCHoklch(59.87% 0.193 339.1)
XYZxyz(31.9463, 18.8460, 37.5452)
Luminance0.1884 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C545A5 #45C565
analogous
#A545C5 #C545A5 #C54565
triadic
#C545A5 #A5C545 #45A5C5
tetradic
#C545A5 #C5A545 #45C565 #4565C5
square
#C545A5 #C5A545 #45C565 #4565C5
split-complementary
#C545A5 #65C545 #45C5A5
monochromatic
#6D225B #9C3181 #C545A5 #D474BC #E2A2D2

Accessibility & contrast

On white

4.40
#C545A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#C545A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C545A5
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C545A5#FFFFFF#000000##000000
##C545A51.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6BA8
Deuteranopia (green-blind)
#7380A2
Tritanopia (blue-blind)
#D0496F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c545a5;
/* rgb */ color: rgb(197, 69, 165);
/* oklch */ color: oklch(59.9% 0.193 339.1);
Tailwind
colors: {
  custom: {
    50: '#da81c0',
    500: '#c545a5',
    950: '#000000',
  },
}
SCSS
$custom: #c545a5;
$custom-light: #da81c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c545a5",
  "rgb": {
    "r": 197,
    "g": 69,
    "b": 165
  },
  "hsl": {
    "h": 315,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5987,
    "c": 0.19325,
    "h": 339.1
  },
  "luminance": 0.18843
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C545A5

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

Preview Lab → · Contrast checker → · Palette generator →

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