#C5276A#C5276A

#C5276A is a mid, vivid pink. Relative luminance 0.144; OKLCH L 55.0% C 0.197 H 1.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#C5276A
RGBrgb(197, 39, 106)
HSLhsl(335, 67%, 46%)
HSVhsv(335, 80%, 77%)
CMYKcmyk(0%, 80.2%, 46.2%, 22.7%)
CIE-LABlab(44.75, 64.18, 1.41)
CIE-LCHlch(44.75, 64.20, 1.26°)
OKLaboklab(54.96% 0.1972 0.0043)
OKLCHoklch(54.96% 0.197 1.3)
XYZxyz(26.3552, 14.3656, 15.0179)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5276A #27C582
analogous
#C527B9 #C5276A #C53327
triadic
#C5276A #6AC527 #276AC5
tetradic
#C5276A #B9C527 #27C582 #3327C5
square
#C5276A #B9C527 #27C582 #3327C5
split-complementary
#C5276A #27C533 #27B9C5
monochromatic
#5F1333 #921D4F #C5276A #DC4D8A #E680AB

Accessibility & contrast

On white

5.42
#C5276A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#C5276A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5276A
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5276A#FFFFFF#000000##FFFFFF
##C5276A1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E576B
Deuteranopia (green-blind)
#797566
Tritanopia (blue-blind)
#D60046
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c5276a;
/* rgb */ color: rgb(197, 39, 106);
/* oklch */ color: oklch(55.0% 0.197 1.3);
Tailwind
colors: {
  custom: {
    50: '#dd7394',
    500: '#c5276a',
    950: '#000000',
  },
}
SCSS
$custom: #c5276a;
$custom-light: #dd7394;
$custom-dark: #000000;
JSON
{
  "hex": "#c5276a",
  "rgb": {
    "r": 197,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 334.557,
    "s": 66.949,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54958,
    "c": 0.19723,
    "h": 1.3
  },
  "luminance": 0.14362
}

Semantic roles & 50–950 ramp

primary
#C5276A
secondary
#79CFAA
accent
#EAA13E
background
#FEF7F9
surface
#FDEDF1
border
#D5C8CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C5276A

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

Preview Lab → · Contrast checker → · Palette generator →

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