#C548A2#C548A2

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

Color values

HEX#C548A2
RGBrgb(197, 72, 162)
HSLhsl(317, 52%, 53%)
HSVhsv(317, 63%, 77%)
CMYKcmyk(0%, 63.5%, 17.8%, 22.7%)
CIE-LABlab(50.82, 59.32, -23.32)
CIE-LCHlch(50.82, 63.74, 338.54°)
OKLaboklab(60.06% 0.1763 -0.0627)
OKLCHoklch(60.06% 0.187 340.4)
XYZxyz(31.8656, 19.1165, 36.1870)
Luminance0.1911 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C548A2 #48C56B
analogous
#A948C5 #C548A2 #C54863
triadic
#C548A2 #A2C548 #48A2C5
tetradic
#C548A2 #C5A948 #48C56B #4863C5
square
#C548A2 #C5A948 #48C56B #4863C5
split-complementary
#C548A2 #63C548 #48C5A9
monochromatic
#6F235A #9E3280 #C548A2 #D476BA #E2A5D1

Accessibility & contrast

On white

4.35
#C548A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C548A2#FFFFFF#000000##000000
##C548A21.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#506CA5
Deuteranopia (green-blind)
#75809F
Tritanopia (blue-blind)
#D04B6E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c548a2;
/* rgb */ color: rgb(197, 72, 162);
/* oklch */ color: oklch(60.1% 0.187 340.4);
Tailwind
colors: {
  custom: {
    50: '#da83bd',
    500: '#c548a2',
    950: '#000000',
  },
}
SCSS
$custom: #c548a2;
$custom-light: #da83bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c548a2",
  "rgb": {
    "r": 197,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 316.8,
    "s": 51.867,
    "l": 52.745
  },
  "oklch": {
    "l": 0.6006,
    "c": 0.1871,
    "h": 340.4
  },
  "luminance": 0.19114
}

Semantic roles & 50–950 ramp

primary
#C548A2
secondary
#99CFA8
accent
#DB744C
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C548A2

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

Preview Lab → · Contrast checker → · Palette generator →

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