#C52F5F#C52F5F

#C52F5F is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.2% C 0.187 H 7.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#C52F5F
RGBrgb(197, 47, 95)
HSLhsl(341, 61%, 48%)
HSVhsv(341, 76%, 77%)
CMYKcmyk(0%, 76.1%, 51.8%, 22.7%)
CIE-LABlab(45.27, 60.95, 8.97)
CIE-LCHlch(45.27, 61.61, 8.37°)
OKLaboklab(55.24% 0.1859 0.0232)
OKLCHoklch(55.24% 0.187 7.1)
XYZxyz(26.1104, 14.7332, 12.2931)
Luminance0.1473 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52F5F #2FC595
analogous
#C52FAA #C52F5F #C54A2F
triadic
#C52F5F #5FC52F #2F5FC5
tetradic
#C52F5F #AAC52F #2FC595 #4A2FC5
square
#C52F5F #AAC52F #2FC595 #4A2FC5
split-complementary
#C52F5F #2FC54A #2FAAC5
monochromatic
#62172F #942347 #C52F5F #D85A82 #E38BA7

Accessibility & contrast

On white

5.32
#C52F5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#C52F5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52F5F
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52F5F#FFFFFF#000000##FFFFFF
##C52F5F1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555860
Deuteranopia (green-blind)
#7D765B
Tritanopia (blue-blind)
#D70044
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c52f5f;
/* rgb */ color: rgb(197, 47, 95);
/* oklch */ color: oklch(55.2% 0.187 7.1);
Tailwind
colors: {
  custom: {
    50: '#dd758c',
    500: '#c52f5f',
    950: '#000000',
  },
}
SCSS
$custom: #c52f5f;
$custom-light: #dd758c;
$custom-dark: #000000;
JSON
{
  "hex": "#c52f5f",
  "rgb": {
    "r": 197,
    "g": 47,
    "b": 95
  },
  "hsl": {
    "h": 340.8,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55238,
    "c": 0.18731,
    "h": 7.1
  },
  "luminance": 0.1473
}

Semantic roles & 50–950 ramp

primary
#C52F5F
secondary
#82CDB5
accent
#E5B143
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#16090C
muted
#847B7D

Preview Lab

Preview with #C52F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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