#C548AB#C548AB

#C548AB is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.5% C 0.193 H 336.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#C548AB
RGBrgb(197, 72, 171)
HSLhsl(312, 52%, 53%)
HSVhsv(312, 63%, 77%)
CMYKcmyk(0%, 63.5%, 13.2%, 22.7%)
CIE-LABlab(51.21, 60.65, -28.02)
CIE-LCHlch(51.21, 66.81, 335.20°)
OKLaboklab(60.47% 0.1778 -0.076)
OKLCHoklch(60.47% 0.193 336.9)
XYZxyz(32.6945, 19.4481, 40.5521)
Luminance0.1945 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C548AB #48C562
analogous
#A048C5 #C548AB #C5486C
triadic
#C548AB #ABC548 #48ABC5
tetradic
#C548AB #C5A048 #48C562 #486CC5
square
#C548AB #C5A048 #48C562 #486CC5
split-complementary
#C548AB #6CC548 #48C5A0
monochromatic
#6F2360 #9E3287 #C548AB #D476C0 #E2A5D6

Accessibility & contrast

On white

4.30
#C548AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#C548AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C548AB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C548AB#FFFFFF#000000##000000
##C548AB1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6EAE
Deuteranopia (green-blind)
#7281A8
Tritanopia (blue-blind)
#CF4E73
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c548ab;
/* rgb */ color: rgb(197, 72, 171);
/* oklch */ color: oklch(60.5% 0.193 336.9);
Tailwind
colors: {
  custom: {
    50: '#da83c4',
    500: '#c548ab',
    950: '#000000',
  },
}
SCSS
$custom: #c548ab;
$custom-light: #da83c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c548ab",
  "rgb": {
    "r": 197,
    "g": 72,
    "b": 171
  },
  "hsl": {
    "h": 312.48,
    "s": 51.867,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60467,
    "c": 0.1934,
    "h": 336.9
  },
  "luminance": 0.19445
}

Semantic roles & 50–950 ramp

primary
#C548AB
secondary
#99CFA5
accent
#DB6A4C
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #C548AB

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

Preview Lab → · Contrast checker → · Palette generator →

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