#C54098#C54098

#C54098 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.8% C 0.191 H 344.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#C54098
RGBrgb(197, 64, 152)
HSLhsl(320, 53%, 51%)
HSVhsv(320, 68%, 77%)
CMYKcmyk(0%, 67.5%, 22.8%, 22.7%)
CIE-LABlab(49.26, 61.12, -19.80)
CIE-LCHlch(49.26, 64.25, 342.05°)
OKLaboklab(58.78% 0.184 -0.0528)
OKLCHoklch(58.78% 0.191 344)
XYZxyz(30.5279, 17.8071, 31.5291)
Luminance0.1780 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54098 #40C56D
analogous
#B040C5 #C54098 #C54055
triadic
#C54098 #98C540 #4098C5
tetradic
#C54098 #C5B040 #40C56D #4055C5
square
#C54098 #C5B040 #40C56D #4055C5
split-complementary
#C54098 #55C540 #40C5B0
monochromatic
#6A2051 #992F75 #C54098 #D36FB1 #E29ECB

Accessibility & contrast

On white

4.60
#C54098 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#C54098 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C54098
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54098#FFFFFF#000000##FFFFFF
##C540981.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D679B
Deuteranopia (green-blind)
#757D95
Tritanopia (blue-blind)
#D13F66
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c54098;
/* rgb */ color: rgb(197, 64, 152);
/* oklch */ color: oklch(58.8% 0.191 344.0);
Tailwind
colors: {
  custom: {
    50: '#da7fb6',
    500: '#c54098',
    950: '#000000',
  },
}
SCSS
$custom: #c54098;
$custom-light: #da7fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#c54098",
  "rgb": {
    "r": 197,
    "g": 64,
    "b": 152
  },
  "hsl": {
    "h": 320.301,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58783,
    "c": 0.19139,
    "h": 344
  },
  "luminance": 0.17804
}

Semantic roles & 50–950 ramp

primary
#C54098
secondary
#93CEA7
accent
#DD7C4B
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B11
muted
#837C80

Preview Lab

Preview with #C54098

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

Preview Lab → · Contrast checker → · Palette generator →

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