#C545A1#C545A1

#C545A1 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.7% C 0.191 H 340.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C545A1
RGBrgb(197, 69, 161)
HSLhsl(317, 52%, 52%)
HSVhsv(317, 65%, 77%)
CMYKcmyk(0%, 65%, 18.3%, 22.7%)
CIE-LABlab(50.34, 60.40, -23.48)
CIE-LCHlch(50.34, 64.80, 338.75°)
OKLaboklab(59.69% 0.1798 -0.0631)
OKLCHoklch(59.69% 0.191 340.6)
XYZxyz(31.5879, 18.7027, 35.6577)
Luminance0.1870 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C545A1 #45C569
analogous
#A945C5 #C545A1 #C54561
triadic
#C545A1 #A1C545 #45A1C5
tetradic
#C545A1 #C5A945 #45C569 #4561C5
square
#C545A1 #C5A945 #45C569 #4561C5
split-complementary
#C545A1 #61C545 #45C5A9
monochromatic
#6D2258 #9C317E #C545A1 #D474B9 #E2A2D0

Accessibility & contrast

On white

4.43
#C545A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#C545A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C545A1
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C545A1#FFFFFF#000000##000000
##C545A11.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6BA4
Deuteranopia (green-blind)
#747F9E
Tritanopia (blue-blind)
#D0486D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c545a1;
/* rgb */ color: rgb(197, 69, 161);
/* oklch */ color: oklch(59.7% 0.191 340.6);
Tailwind
colors: {
  custom: {
    50: '#da81bd',
    500: '#c545a1',
    950: '#000000',
  },
}
SCSS
$custom: #c545a1;
$custom-light: #da81bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c545a1",
  "rgb": {
    "r": 197,
    "g": 69,
    "b": 161
  },
  "hsl": {
    "h": 316.875,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59691,
    "c": 0.19054,
    "h": 340.6
  },
  "luminance": 0.187
}

Semantic roles & 50–950 ramp

primary
#C545A1
secondary
#97CFA7
accent
#DC744C
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C545A1

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

Preview Lab → · Contrast checker → · Palette generator →

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