#C54279#C54279

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

Color values

HEX#C54279
RGBrgb(197, 66, 121)
HSLhsl(335, 53%, 52%)
HSVhsv(335, 66%, 77%)
CMYKcmyk(0%, 66.5%, 38.6%, 22.7%)
CIE-LABlab(48.45, 56.58, -2.38)
CIE-LCHlch(48.45, 56.63, 357.59°)
OKLaboklab(57.83% 0.1732 -0.0055)
OKLCHoklch(57.83% 0.173 358.2)
XYZxyz(28.4272, 17.1506, 19.8988)
Luminance0.1715 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54279 #42C58E
analogous
#C542BB #C54279 #C54D42
triadic
#C54279 #79C542 #4279C5
tetradic
#C54279 #BBC542 #42C58E #4D42C5
square
#C54279 #BBC542 #42C58E #4D42C5
split-complementary
#C54279 #42C54D #42BBC5
monochromatic
#6C2140 #9A2F5C #C54279 #D3719A #E2A0BB

Accessibility & contrast

On white

4.74
#C54279 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C54279 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C54279
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54279#FFFFFF#000000##FFFFFF
##C542791.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A637B
Deuteranopia (green-blind)
#7E7C76
Tritanopia (blue-blind)
#D53558
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c54279;
/* rgb */ color: rgb(197, 66, 121);
/* oklch */ color: oklch(57.8% 0.173 358.2);
Tailwind
colors: {
  custom: {
    50: '#db7f9f',
    500: '#c54279',
    950: '#000000',
  },
}
SCSS
$custom: #c54279;
$custom-light: #db7f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#c54279",
  "rgb": {
    "r": 197,
    "g": 66,
    "b": 121
  },
  "hsl": {
    "h": 334.809,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57826,
    "c": 0.17326,
    "h": 358.2
  },
  "luminance": 0.17147
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C54279

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

Preview Lab → · Contrast checker → · Palette generator →

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