#C54BA2#C54BA2

#C54BA2 is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.4% C 0.183 H 340.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C54BA2
RGBrgb(197, 75, 162)
HSLhsl(317, 51%, 53%)
HSVhsv(317, 62%, 77%)
CMYKcmyk(0%, 61.9%, 17.8%, 22.7%)
CIE-LABlab(51.28, 58.05, -22.61)
CIE-LCHlch(51.28, 62.30, 338.72°)
OKLaboklab(60.4% 0.1725 -0.0607)
OKLCHoklch(60.4% 0.183 340.6)
XYZxyz(32.0643, 19.5139, 36.2533)
Luminance0.1951 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54BA2 #4BC56E
analogous
#AB4BC5 #C54BA2 #C54B65
triadic
#C54BA2 #A2C54B #4BA2C5
tetradic
#C54BA2 #C5AB4B #4BC56E #4B65C5
square
#C54BA2 #C5AB4B #4BC56E #4B65C5
split-complementary
#C54BA2 #65C54B #4BC5AB
monochromatic
#71245B #9F3380 #C54BA2 #D479BA #E3A8D2

Accessibility & contrast

On white

4.28
#C54BA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#C54BA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54BA2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54BA2#FFFFFF#000000##000000
##C54BA21.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#526EA5
Deuteranopia (green-blind)
#77819F
Tritanopia (blue-blind)
#D04D70
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c54ba2;
/* rgb */ color: rgb(197, 75, 162);
/* oklch */ color: oklch(60.4% 0.183 340.6);
Tailwind
colors: {
  custom: {
    50: '#da84bd',
    500: '#c54ba2',
    950: '#000000',
  },
}
SCSS
$custom: #c54ba2;
$custom-light: #da84bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c54ba2",
  "rgb": {
    "r": 197,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 317.213,
    "s": 51.261,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60398,
    "c": 0.18287,
    "h": 340.6
  },
  "luminance": 0.19511
}

Semantic roles & 50–950 ramp

primary
#C54BA2
secondary
#9CD0AB
accent
#DB764D
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C54BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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