#C5296B#C5296B

#C5296B is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.1% C 0.196 H 1.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#C5296B
RGBrgb(197, 41, 107)
HSLhsl(335, 66%, 47%)
HSVhsv(335, 79%, 77%)
CMYKcmyk(0%, 79.2%, 45.7%, 22.7%)
CIE-LABlab(44.97, 63.73, 1.11)
CIE-LCHlch(44.97, 63.74, 1.00°)
OKLaboklab(55.13% 0.1958 0.0036)
OKLCHoklch(55.13% 0.196 1)
XYZxyz(26.4749, 14.5213, 15.3158)
Luminance0.1452 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5296B #29C583
analogous
#C529B9 #C5296B #C53529
triadic
#C5296B #6BC529 #296BC5
tetradic
#C5296B #B9C529 #29C583 #3529C5
square
#C5296B #B9C529 #29C583 #3529C5
split-complementary
#C5296B #29C535 #29B9C5
monochromatic
#601434 #921E4F #C5296B #DB518B #E583AD

Accessibility & contrast

On white

5.38
#C5296B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#C5296B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5296B
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5296B#FFFFFF#000000##FFFFFF
##C5296B1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F576C
Deuteranopia (green-blind)
#797567
Tritanopia (blue-blind)
#D60047
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c5296b;
/* rgb */ color: rgb(197, 41, 107);
/* oklch */ color: oklch(55.1% 0.196 1.0);
Tailwind
colors: {
  custom: {
    50: '#dd7395',
    500: '#c5296b',
    950: '#000000',
  },
}
SCSS
$custom: #c5296b;
$custom-light: #dd7395;
$custom-dark: #000000;
JSON
{
  "hex": "#c5296b",
  "rgb": {
    "r": 197,
    "g": 41,
    "b": 107
  },
  "hsl": {
    "h": 334.615,
    "s": 65.546,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55128,
    "c": 0.19581,
    "h": 1
  },
  "luminance": 0.14518
}

Semantic roles & 50–950 ramp

primary
#C5296B
secondary
#7CCEAB
accent
#E8A13F
background
#FEF7F9
surface
#FDEDF1
border
#D5C8CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C5296B

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

Preview Lab → · Contrast checker → · Palette generator →

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