#C52870#C52870

#C52870 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.2% C 0.198 H 358.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#C52870
RGBrgb(197, 40, 112)
HSLhsl(332, 66%, 46%)
HSVhsv(332, 80%, 77%)
CMYKcmyk(0%, 79.7%, 43.1%, 22.7%)
CIE-LABlab(45.03, 64.46, -1.90)
CIE-LCHlch(45.03, 64.49, 358.31°)
OKLaboklab(55.22% 0.1983 -0.0042)
OKLCHoklch(55.22% 0.198 358.8)
XYZxyz(26.7115, 14.5613, 16.7301)
Luminance0.1456 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52870 #28C57D
analogous
#C528BF #C52870 #C52E28
triadic
#C52870 #70C528 #2870C5
tetradic
#C52870 #BFC528 #28C57D #2E28C5
square
#C52870 #BFC528 #28C57D #2E28C5
split-complementary
#C52870 #28C52E #28BFC5
monochromatic
#5F1336 #921E53 #C52870 #DB4F8F #E682B0

Accessibility & contrast

On white

5.37
#C52870 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#C52870 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52870
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52870#FFFFFF#000000##FFFFFF
##C528701.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5872
Deuteranopia (green-blind)
#78756C
Tritanopia (blue-blind)
#D60049
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c52870;
/* rgb */ color: rgb(197, 40, 112);
/* oklch */ color: oklch(55.2% 0.198 358.8);
Tailwind
colors: {
  custom: {
    50: '#dc7398',
    500: '#c52870',
    950: '#000000',
  },
}
SCSS
$custom: #c52870;
$custom-light: #dc7398;
$custom-dark: #000000;
JSON
{
  "hex": "#c52870",
  "rgb": {
    "r": 197,
    "g": 40,
    "b": 112
  },
  "hsl": {
    "h": 332.484,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55218,
    "c": 0.19832,
    "h": 358.8
  },
  "luminance": 0.14558
}

Semantic roles & 50–950 ramp

primary
#C52870
secondary
#7ACEA8
accent
#E99B3F
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C52870

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

Preview Lab → · Contrast checker → · Palette generator →

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