#C54871#C54871

#C54871 is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.3% C 0.163 H 3.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#C54871
RGBrgb(197, 72, 113)
HSLhsl(340, 52%, 53%)
HSVhsv(340, 63%, 77%)
CMYKcmyk(0%, 63.5%, 42.6%, 22.7%)
CIE-LABlab(49.13, 53.24, 3.46)
CIE-LCHlch(49.13, 53.35, 3.72°)
OKLaboklab(58.26% 0.1626 0.0095)
OKLCHoklch(58.26% 0.163 3.4)
XYZxyz(28.3259, 17.7006, 17.5445)
Luminance0.1770 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54871 #48C59C
analogous
#C548AF #C54871 #C55D48
triadic
#C54871 #71C548 #4871C5
tetradic
#C54871 #AFC548 #48C59C #5D48C5
square
#C54871 #AFC548 #48C59C #5D48C5
split-complementary
#C54871 #48C55D #48AFC5
monochromatic
#6F233C #9E3255 #C54871 #D47695 #E2A5B9

Accessibility & contrast

On white

4.63
#C54871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#C54871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C54871
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54871#FFFFFF#000000##FFFFFF
##C548711.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616572
Deuteranopia (green-blind)
#827E6E
Tritanopia (blue-blind)
#D53958
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c54871;
/* rgb */ color: rgb(197, 72, 113);
/* oklch */ color: oklch(58.3% 0.163 3.4);
Tailwind
colors: {
  custom: {
    50: '#db8299',
    500: '#c54871',
    950: '#000000',
  },
}
SCSS
$custom: #c54871;
$custom-light: #db8299;
$custom-dark: #000000;
JSON
{
  "hex": "#c54871",
  "rgb": {
    "r": 197,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 340.32,
    "s": 51.867,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58256,
    "c": 0.16283,
    "h": 3.4
  },
  "luminance": 0.17697
}

Semantic roles & 50–950 ramp

primary
#C54871
secondary
#99CFBE
accent
#DBAC4C
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #C54871

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

Preview Lab → · Contrast checker → · Palette generator →

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