#C545A8#C545A8

#C545A8 is a mid, vivid pink. Relative luminance 0.190; OKLCH L 60.0% C 0.195 H 337.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C545A8
RGBrgb(197, 69, 168)
HSLhsl(314, 52%, 52%)
HSVhsv(314, 65%, 77%)
CMYKcmyk(0%, 65%, 14.7%, 22.7%)
CIE-LABlab(50.64, 61.41, -27.15)
CIE-LCHlch(50.64, 67.15, 336.15°)
OKLaboklab(60.01% 0.181 -0.0735)
OKLCHoklch(60.01% 0.195 337.9)
XYZxyz(32.2225, 18.9565, 39.0001)
Luminance0.1895 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C545A8 #45C562
analogous
#A245C5 #C545A8 #C54568
triadic
#C545A8 #A8C545 #45A8C5
tetradic
#C545A8 #C5A245 #45C562 #4568C5
square
#C545A8 #C5A245 #45C562 #4568C5
split-complementary
#C545A8 #68C545 #45C5A2
monochromatic
#6D225C #9C3184 #C545A8 #D474BE #E2A2D4

Accessibility & contrast

On white

4.38
#C545A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#C545A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C545A8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C545A8#FFFFFF#000000##000000
##C545A81.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#496CAB
Deuteranopia (green-blind)
#7280A5
Tritanopia (blue-blind)
#CF4A70
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c545a8;
/* rgb */ color: rgb(197, 69, 168);
/* oklch */ color: oklch(60.0% 0.195 337.9);
Tailwind
colors: {
  custom: {
    50: '#da81c2',
    500: '#c545a8',
    950: '#000000',
  },
}
SCSS
$custom: #c545a8;
$custom-light: #da81c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c545a8",
  "rgb": {
    "r": 197,
    "g": 69,
    "b": 168
  },
  "hsl": {
    "h": 313.594,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60007,
    "c": 0.19533,
    "h": 337.9
  },
  "luminance": 0.18954
}

Semantic roles & 50–950 ramp

primary
#C545A8
secondary
#97CFA4
accent
#DC6D4C
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C545A8

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

Preview Lab → · Contrast checker → · Palette generator →

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