#C54CAF#C54CAF

#C54CAF is a mid, vivid pink. Relative luminance 0.201; OKLCH L 61.1% C 0.191 H 335.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#C54CAF
RGBrgb(197, 76, 175)
HSLhsl(311, 51%, 54%)
HSVhsv(311, 61%, 77%)
CMYKcmyk(0%, 61.4%, 11.2%, 22.7%)
CIE-LABlab(51.99, 59.59, -29.14)
CIE-LCHlch(51.99, 66.33, 333.94°)
OKLaboklab(61.1% 0.1735 -0.0792)
OKLCHoklch(61.1% 0.191 335.5)
XYZxyz(33.3486, 20.1370, 42.6795)
Luminance0.2013 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54CAF #4CC562
analogous
#9E4CC5 #C54CAF #C54C72
triadic
#C54CAF #AFC54C #4CAFC5
tetradic
#C54CAF #C59E4C #4CC562 #4C72C5
square
#C54CAF #C59E4C #4CC562 #4C72C5
split-complementary
#C54CAF #72C54C #4CC59E
monochromatic
#722564 #A0348C #C54CAF #D47AC4 #E3A8D8

Accessibility & contrast

On white

4.18
#C54CAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#C54CAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54CAF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54CAF#FFFFFF#000000##000000
##C54CAF1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D70B2
Deuteranopia (green-blind)
#7283AC
Tritanopia (blue-blind)
#CE5377
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c54caf;
/* rgb */ color: rgb(197, 76, 175);
/* oklch */ color: oklch(61.1% 0.191 335.5);
Tailwind
colors: {
  custom: {
    50: '#da85c7',
    500: '#c54caf',
    950: '#000000',
  },
}
SCSS
$custom: #c54caf;
$custom-light: #da85c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c54caf",
  "rgb": {
    "r": 197,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 310.909,
    "s": 51.055,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61098,
    "c": 0.19074,
    "h": 335.5
  },
  "luminance": 0.20134
}

Semantic roles & 50–950 ramp

primary
#C54CAF
secondary
#9CD0A6
accent
#DB674D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C54CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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