#C5266A#C5266A

#C5266A is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.9% C 0.198 H 1.2°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#C5266A
RGBrgb(197, 38, 106)
HSLhsl(334, 68%, 46%)
HSVhsv(334, 81%, 77%)
CMYKcmyk(0%, 80.7%, 46.2%, 22.7%)
CIE-LABlab(44.66, 64.44, 1.28)
CIE-LCHlch(44.66, 64.45, 1.14°)
OKLaboklab(54.89% 0.198 0.004)
OKLCHoklch(54.89% 0.198 1.2)
XYZxyz(26.3228, 14.3008, 15.0071)
Luminance0.1430 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5266A #26C581
analogous
#C526B9 #C5266A #C53226
triadic
#C5266A #6AC526 #266AC5
tetradic
#C5266A #B9C526 #26C581 #3226C5
square
#C5266A #B9C526 #26C581 #3226C5
split-complementary
#C5266A #26C532 #26B9C5
monochromatic
#5E1233 #921C4E #C5266A #DC4C8A #E67FAB

Accessibility & contrast

On white

5.44
#C5266A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#C5266A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5266A
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5266A#FFFFFF#000000##FFFFFF
##C5266A1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E566C
Deuteranopia (green-blind)
#787466
Tritanopia (blue-blind)
#D60045
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c5266a;
/* rgb */ color: rgb(197, 38, 106);
/* oklch */ color: oklch(54.9% 0.198 1.2);
Tailwind
colors: {
  custom: {
    50: '#dd7294',
    500: '#c5266a',
    950: '#000000',
  },
}
SCSS
$custom: #c5266a;
$custom-light: #dd7294;
$custom-dark: #000000;
JSON
{
  "hex": "#c5266a",
  "rgb": {
    "r": 197,
    "g": 38,
    "b": 106
  },
  "hsl": {
    "h": 334.34,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54891,
    "c": 0.19806,
    "h": 1.2
  },
  "luminance": 0.14297
}

Semantic roles & 50–950 ramp

primary
#C5266A
secondary
#78CFAA
accent
#EBA03D
background
#FEF7F9
surface
#FDEDF1
border
#D5C8CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C5266A

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

Preview Lab → · Contrast checker → · Palette generator →

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