#C5266C#C5266C

#C5266C is a mid, vivid pink. Relative luminance 0.143; OKLCH L 55.0% C 0.199 H 0.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#C5266C
RGBrgb(197, 38, 108)
HSLhsl(334, 68%, 46%)
HSVhsv(334, 81%, 77%)
CMYKcmyk(0%, 80.7%, 45.2%, 22.7%)
CIE-LABlab(44.72, 64.62, 0.12)
CIE-LCHlch(44.72, 64.62, 0.11°)
OKLaboklab(54.95% 0.1987 0.001)
OKLCHoklch(54.95% 0.199 0.3)
XYZxyz(26.4280, 14.3429, 15.5613)
Luminance0.1434 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5266C #26C57F
analogous
#C526BB #C5266C #C52F26
triadic
#C5266C #6CC526 #266CC5
tetradic
#C5266C #BBC526 #26C57F #2F26C5
square
#C5266C #BBC526 #26C57F #2F26C5
split-complementary
#C5266C #26C52F #26BBC5
monochromatic
#5E1234 #921C50 #C5266C #DC4C8B #E67FAD

Accessibility & contrast

On white

5.43
#C5266C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C5266C
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5266C#FFFFFF#000000##FFFFFF
##C5266C1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5266c;
/* rgb */ color: rgb(197, 38, 108);
/* oklch */ color: oklch(55.0% 0.199 0.3);
Tailwind
colors: {
  custom: {
    50: '#dd7295',
    500: '#c5266c',
    950: '#000000',
  },
}
SCSS
$custom: #c5266c;
$custom-light: #dd7295;
$custom-dark: #000000;
JSON
{
  "hex": "#c5266c",
  "rgb": {
    "r": 197,
    "g": 38,
    "b": 108
  },
  "hsl": {
    "h": 333.585,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54954,
    "c": 0.19869,
    "h": 0.3
  },
  "luminance": 0.14339
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5266C

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

Preview Lab → · Contrast checker → · Palette generator →

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