#C545AC#C545AC

#C545AC is a mid, vivid pink. Relative luminance 0.191; OKLCH L 60.2% C 0.198 H 336.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#C545AC
RGBrgb(197, 69, 172)
HSLhsl(312, 52%, 52%)
HSVhsv(312, 65%, 77%)
CMYKcmyk(0%, 65%, 12.7%, 22.7%)
CIE-LABlab(50.81, 62.01, -29.22)
CIE-LCHlch(50.81, 68.55, 334.77°)
OKLaboklab(60.19% 0.1816 -0.0794)
OKLCHoklch(60.19% 0.198 336.4)
XYZxyz(32.6009, 19.1079, 40.9929)
Luminance0.1910 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C545AC #45C55E
analogous
#9E45C5 #C545AC #C5456C
triadic
#C545AC #ACC545 #45ACC5
tetradic
#C545AC #C59E45 #45C55E #456CC5
square
#C545AC #C59E45 #45C55E #456CC5
split-complementary
#C545AC #6CC545 #45C59E
monochromatic
#6D225F #9C3187 #C545AC #D474C1 #E2A2D6

Accessibility & contrast

On white

4.36
#C545AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#C545AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C545AC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C545AC#FFFFFF#000000##000000
##C545AC1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#476DAF
Deuteranopia (green-blind)
#7080A9
Tritanopia (blue-blind)
#CF4C72
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c545ac;
/* rgb */ color: rgb(197, 69, 172);
/* oklch */ color: oklch(60.2% 0.198 336.4);
Tailwind
colors: {
  custom: {
    50: '#da82c5',
    500: '#c545ac',
    950: '#000000',
  },
}
SCSS
$custom: #c545ac;
$custom-light: #da82c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c545ac",
  "rgb": {
    "r": 197,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 311.719,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60194,
    "c": 0.19817,
    "h": 336.4
  },
  "luminance": 0.19105
}

Semantic roles & 50–950 ramp

primary
#C545AC
secondary
#97CFA2
accent
#DC684C
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C545AC

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

Preview Lab → · Contrast checker → · Palette generator →

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