#C54DAF#C54DAF

#C54DAF is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.2% C 0.189 H 335.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#C54DAF
RGBrgb(197, 77, 175)
HSLhsl(311, 51%, 54%)
HSVhsv(311, 61%, 77%)
CMYKcmyk(0%, 60.9%, 11.2%, 22.7%)
CIE-LABlab(52.15, 59.16, -28.90)
CIE-LCHlch(52.15, 65.84, 333.96°)
OKLaboklab(61.21% 0.1722 -0.0785)
OKLCHoklch(61.21% 0.189 335.5)
XYZxyz(33.4180, 20.2759, 42.7027)
Luminance0.2027 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54DAF #4DC563
analogous
#9F4DC5 #C54DAF #C54D73
triadic
#C54DAF #AFC54D #4DAFC5
tetradic
#C54DAF #C59F4D #4DC563 #4D73C5
square
#C54DAF #C59F4D #4DC563 #4D73C5
split-complementary
#C54DAF #73C54D #4DC59F
monochromatic
#722564 #A0348D #C54DAF #D47BC4 #E3A9D8

Accessibility & contrast

On white

4.15
#C54DAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#C54DAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54DAF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54DAF#FFFFFF#000000##000000
##C54DAF1.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E71B2
Deuteranopia (green-blind)
#7383AC
Tritanopia (blue-blind)
#CE5477
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c54daf;
/* rgb */ color: rgb(197, 77, 175);
/* oklch */ color: oklch(61.2% 0.189 335.5);
Tailwind
colors: {
  custom: {
    50: '#da86c7',
    500: '#c54daf',
    950: '#000000',
  },
}
SCSS
$custom: #c54daf;
$custom-light: #da86c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c54daf",
  "rgb": {
    "r": 197,
    "g": 77,
    "b": 175
  },
  "hsl": {
    "h": 311,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61212,
    "c": 0.18931,
    "h": 335.5
  },
  "luminance": 0.20273
}

Semantic roles & 50–950 ramp

primary
#C54DAF
secondary
#9DD1A7
accent
#DA674D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C54DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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