#C548A8#C548A8

#C548A8 is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.3% C 0.191 H 338.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C548A8
RGBrgb(197, 72, 168)
HSLhsl(314, 52%, 53%)
HSVhsv(314, 63%, 77%)
CMYKcmyk(0%, 63.5%, 14.7%, 22.7%)
CIE-LABlab(51.08, 60.20, -26.46)
CIE-LCHlch(51.08, 65.76, 336.27°)
OKLaboklab(60.33% 0.1774 -0.0716)
OKLCHoklch(60.33% 0.191 338)
XYZxyz(32.4118, 19.3350, 39.0632)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C548A8 #48C565
analogous
#A348C5 #C548A8 #C54869
triadic
#C548A8 #A8C548 #48A8C5
tetradic
#C548A8 #C5A348 #48C565 #4869C5
square
#C548A8 #C5A348 #48C565 #4869C5
split-complementary
#C548A8 #69C548 #48C5A3
monochromatic
#6F235E #9E3285 #C548A8 #D476BE #E2A5D4

Accessibility & contrast

On white

4.32
#C548A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#C548A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C548A8
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C548A8#FFFFFF#000000##000000
##C548A81.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6DAB
Deuteranopia (green-blind)
#7381A5
Tritanopia (blue-blind)
#CF4D71
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c548a8;
/* rgb */ color: rgb(197, 72, 168);
/* oklch */ color: oklch(60.3% 0.191 338.0);
Tailwind
colors: {
  custom: {
    50: '#da83c2',
    500: '#c548a8',
    950: '#000000',
  },
}
SCSS
$custom: #c548a8;
$custom-light: #da83c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c548a8",
  "rgb": {
    "r": 197,
    "g": 72,
    "b": 168
  },
  "hsl": {
    "h": 313.92,
    "s": 51.867,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60329,
    "c": 0.19125,
    "h": 338
  },
  "luminance": 0.19332
}

Semantic roles & 50–950 ramp

primary
#C548A8
secondary
#99CFA6
accent
#DB6E4C
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C548A8

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

Preview Lab → · Contrast checker → · Palette generator →

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