#C54278#C54278

#C54278 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.8% C 0.173 H 358.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C54278
RGBrgb(197, 66, 120)
HSLhsl(335, 53%, 52%)
HSVhsv(335, 66%, 77%)
CMYKcmyk(0%, 66.5%, 39.1%, 22.7%)
CIE-LABlab(48.42, 56.47, -1.82)
CIE-LCHlch(48.42, 56.50, 358.16°)
OKLaboklab(57.79% 0.1728 -0.0041)
OKLCHoklch(57.79% 0.173 358.7)
XYZxyz(28.3662, 17.1262, 19.5775)
Luminance0.1712 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54278 #42C58F
analogous
#C542BA #C54278 #C54E42
triadic
#C54278 #78C542 #4278C5
tetradic
#C54278 #BAC542 #42C58F #4E42C5
square
#C54278 #BAC542 #42C58F #4E42C5
split-complementary
#C54278 #42C54E #42BAC5
monochromatic
#6C2140 #9A2F5C #C54278 #D37199 #E2A0BB

Accessibility & contrast

On white

4.75
#C54278 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#C54278 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C54278
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54278#FFFFFF#000000##FFFFFF
##C542781.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6379
Deuteranopia (green-blind)
#7E7C75
Tritanopia (blue-blind)
#D53458
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c54278;
/* rgb */ color: rgb(197, 66, 120);
/* oklch */ color: oklch(57.8% 0.173 358.7);
Tailwind
colors: {
  custom: {
    50: '#db7f9e',
    500: '#c54278',
    950: '#000000',
  },
}
SCSS
$custom: #c54278;
$custom-light: #db7f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#c54278",
  "rgb": {
    "r": 197,
    "g": 66,
    "b": 120
  },
  "hsl": {
    "h": 335.267,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57794,
    "c": 0.17289,
    "h": 358.7
  },
  "luminance": 0.17123
}

Semantic roles & 50–950 ramp

primary
#C54278
secondary
#95CEB6
accent
#DCA14B
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #C54278

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

Preview Lab → · Contrast checker → · Palette generator →

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