#C52874#C52874

#C52874 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.4% C 0.200 H 357.1°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#C52874
RGBrgb(197, 40, 116)
HSLhsl(331, 66%, 46%)
HSVhsv(331, 80%, 77%)
CMYKcmyk(0%, 79.7%, 41.1%, 22.7%)
CIE-LABlab(45.15, 64.84, -4.18)
CIE-LCHlch(45.15, 64.97, 356.31°)
OKLaboklab(55.35% 0.1995 -0.0102)
OKLCHoklch(55.35% 0.2 357.1)
XYZxyz(26.9391, 14.6524, 17.9292)
Luminance0.1465 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52874 #28C579
analogous
#C528C3 #C52874 #C52A28
triadic
#C52874 #74C528 #2874C5
tetradic
#C52874 #C3C528 #28C579 #2A28C5
square
#C52874 #C3C528 #28C579 #2A28C5
split-complementary
#C52874 #28C52A #28C3C5
monochromatic
#5F1338 #921E56 #C52874 #DB4F93 #E682B2

Accessibility & contrast

On white

5.34
#C52874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#C52874 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52874
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52874#FFFFFF#000000##FFFFFF
##C528741.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5876
Deuteranopia (green-blind)
#777570
Tritanopia (blue-blind)
#D5064B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c52874;
/* rgb */ color: rgb(197, 40, 116);
/* oklch */ color: oklch(55.4% 0.200 357.1);
Tailwind
colors: {
  custom: {
    50: '#dc739b',
    500: '#c52874',
    950: '#000000',
  },
}
SCSS
$custom: #c52874;
$custom-light: #dc739b;
$custom-dark: #000000;
JSON
{
  "hex": "#c52874",
  "rgb": {
    "r": 197,
    "g": 40,
    "b": 116
  },
  "hsl": {
    "h": 330.955,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55352,
    "c": 0.19978,
    "h": 357.1
  },
  "luminance": 0.14649
}

Semantic roles & 50–950 ramp

primary
#C52874
secondary
#7ACEA6
accent
#E9973F
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C52874

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

Preview Lab → · Contrast checker → · Palette generator →

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