#C5266B#C5266B

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

Color values

HEX#C5266B
RGBrgb(197, 38, 107)
HSLhsl(334, 68%, 46%)
HSVhsv(334, 81%, 77%)
CMYKcmyk(0%, 80.7%, 45.7%, 22.7%)
CIE-LABlab(44.69, 64.53, 0.70)
CIE-LCHlch(44.69, 64.53, 0.62°)
OKLaboklab(54.92% 0.1984 0.0025)
OKLCHoklch(54.92% 0.198 0.7)
XYZxyz(26.3751, 14.3217, 15.2826)
Luminance0.1432 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5266B #26C580
analogous
#C526BA #C5266B #C53026
triadic
#C5266B #6BC526 #266BC5
tetradic
#C5266B #BAC526 #26C580 #3026C5
square
#C5266B #BAC526 #26C580 #3026C5
split-complementary
#C5266B #26C530 #26BAC5
monochromatic
#5E1233 #921C4F #C5266B #DC4C8B #E67FAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5266B#FFFFFF#000000##FFFFFF
##C5266B1.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)
#4E566D
Deuteranopia (green-blind)
#787567
Tritanopia (blue-blind)
#D60046
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c5266b;
/* rgb */ color: rgb(197, 38, 107);
/* oklch */ color: oklch(54.9% 0.198 0.7);
Tailwind
colors: {
  custom: {
    50: '#dd7295',
    500: '#c5266b',
    950: '#000000',
  },
}
SCSS
$custom: #c5266b;
$custom-light: #dd7295;
$custom-dark: #000000;
JSON
{
  "hex": "#c5266b",
  "rgb": {
    "r": 197,
    "g": 38,
    "b": 107
  },
  "hsl": {
    "h": 333.962,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54922,
    "c": 0.19838,
    "h": 0.7
  },
  "luminance": 0.14318
}

Semantic roles & 50–950 ramp

primary
#C5266B
secondary
#78CFA9
accent
#EB9F3D
background
#FEF7F9
surface
#FDEDF1
border
#D5C8CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C5266B

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

Preview Lab → · Contrast checker → · Palette generator →

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