#C545AB#C545AB

#C545AB is a mid, vivid pink. Relative luminance 0.191; OKLCH L 60.1% C 0.197 H 336.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C545AB
RGBrgb(197, 69, 171)
HSLhsl(312, 52%, 52%)
HSVhsv(312, 65%, 77%)
CMYKcmyk(0%, 65%, 13.2%, 22.7%)
CIE-LABlab(50.77, 61.86, -28.70)
CIE-LCHlch(50.77, 68.20, 335.11°)
OKLaboklab(60.15% 0.1814 -0.0779)
OKLCHoklch(60.15% 0.197 336.8)
XYZxyz(32.5052, 19.0696, 40.4890)
Luminance0.1907 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C545AB #45C55F
analogous
#9F45C5 #C545AB #C5456B
triadic
#C545AB #ABC545 #45ABC5
tetradic
#C545AB #C59F45 #45C55F #456BC5
square
#C545AB #C59F45 #45C55F #456BC5
split-complementary
#C545AB #6BC545 #45C59F
monochromatic
#6D225E #9C3186 #C545AB #D474C0 #E2A2D5

Accessibility & contrast

On white

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

On black

4.81
#C545AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C545AB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C545AB#FFFFFF#000000##000000
##C545AB1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#486CAE
Deuteranopia (green-blind)
#7080A8
Tritanopia (blue-blind)
#CF4C72
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c545ab;
/* rgb */ color: rgb(197, 69, 171);
/* oklch */ color: oklch(60.1% 0.197 336.8);
Tailwind
colors: {
  custom: {
    50: '#da82c4',
    500: '#c545ab',
    950: '#000000',
  },
}
SCSS
$custom: #c545ab;
$custom-light: #da82c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c545ab",
  "rgb": {
    "r": 197,
    "g": 69,
    "b": 171
  },
  "hsl": {
    "h": 312.188,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60147,
    "c": 0.19746,
    "h": 336.8
  },
  "luminance": 0.19067
}

Semantic roles & 50–950 ramp

primary
#C545AB
secondary
#97CFA2
accent
#DC694C
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #C545AB

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

Preview Lab → · Contrast checker → · Palette generator →

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