#C545A2#C545A2

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

Color values

HEX#C545A2
RGBrgb(197, 69, 162)
HSLhsl(316, 52%, 52%)
HSVhsv(316, 65%, 77%)
CMYKcmyk(0%, 65%, 17.8%, 22.7%)
CIE-LABlab(50.38, 60.54, -24.01)
CIE-LCHlch(50.38, 65.13, 338.37°)
OKLaboklab(59.74% 0.18 -0.0646)
OKLCHoklch(59.74% 0.191 340.2)
XYZxyz(31.6764, 18.7381, 36.1239)
Luminance0.1873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C545A2 #45C568
analogous
#A845C5 #C545A2 #C54562
triadic
#C545A2 #A2C545 #45A2C5
tetradic
#C545A2 #C5A845 #45C568 #4562C5
square
#C545A2 #C5A845 #45C568 #4562C5
split-complementary
#C545A2 #62C545 #45C5A8
monochromatic
#6D2259 #9C317F #C545A2 #D474B9 #E2A2D1

Accessibility & contrast

On white

4.42
#C545A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#C545A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C545A2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C545A2#FFFFFF#000000##000000
##C545A21.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c545a2;
/* rgb */ color: rgb(197, 69, 162);
/* oklch */ color: oklch(59.7% 0.191 340.2);
Tailwind
colors: {
  custom: {
    50: '#da81bd',
    500: '#c545a2',
    950: '#000000',
  },
}
SCSS
$custom: #c545a2;
$custom-light: #da81bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c545a2",
  "rgb": {
    "r": 197,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 316.406,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59735,
    "c": 0.19121,
    "h": 340.2
  },
  "luminance": 0.18735
}

Semantic roles & 50–950 ramp

primary
#C545A2
secondary
#97CFA6
accent
#DC734C
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C545A2

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

Preview Lab → · Contrast checker → · Palette generator →

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