#C545A7#C545A7

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

Color values

HEX#C545A7
RGBrgb(197, 69, 167)
HSLhsl(314, 52%, 52%)
HSVhsv(314, 65%, 77%)
CMYKcmyk(0%, 65%, 15.2%, 22.7%)
CIE-LABlab(50.59, 61.27, -26.63)
CIE-LCHlch(50.59, 66.80, 336.51°)
OKLaboklab(59.96% 0.1808 -0.072)
OKLCHoklch(59.96% 0.195 338.3)
XYZxyz(32.1297, 18.9194, 38.5114)
Luminance0.1892 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C545A7 #45C563
analogous
#A345C5 #C545A7 #C54567
triadic
#C545A7 #A7C545 #45A7C5
tetradic
#C545A7 #C5A345 #45C563 #4567C5
square
#C545A7 #C5A345 #45C563 #4567C5
split-complementary
#C545A7 #67C545 #45C5A3
monochromatic
#6D225C #9C3183 #C545A7 #D474BD #E2A2D3

Accessibility & contrast

On white

4.39
#C545A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#C545A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C545A7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C545A7#FFFFFF#000000##000000
##C545A71.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6CAA
Deuteranopia (green-blind)
#7280A4
Tritanopia (blue-blind)
#D04A70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c545a7;
/* rgb */ color: rgb(197, 69, 167);
/* oklch */ color: oklch(60.0% 0.195 338.3);
Tailwind
colors: {
  custom: {
    50: '#da81c1',
    500: '#c545a7',
    950: '#000000',
  },
}
SCSS
$custom: #c545a7;
$custom-light: #da81c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c545a7",
  "rgb": {
    "r": 197,
    "g": 69,
    "b": 167
  },
  "hsl": {
    "h": 314.063,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59961,
    "c": 0.19463,
    "h": 338.3
  },
  "luminance": 0.18917
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C545A7

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

Preview Lab → · Contrast checker → · Palette generator →

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