#C9297F#C9297F

#C9297F is a mid, highly saturated pink. Relative luminance 0.155; OKLCH L 56.5% C 0.206 H 353.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#C9297F
RGBrgb(201, 41, 127)
HSLhsl(328, 66%, 47%)
HSVhsv(328, 80%, 79%)
CMYKcmyk(0%, 79.6%, 36.8%, 21.2%)
CIE-LABlab(46.36, 66.68, -9.05)
CIE-LCHlch(46.36, 67.29, 352.27°)
OKLaboklab(56.49% 0.205 -0.0231)
OKLCHoklch(56.49% 0.206 353.6)
XYZxyz(28.7130, 15.5393, 21.5619)
Luminance0.1554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9297F #29C973
analogous
#C329C9 #C9297F #C9292F
triadic
#C9297F #7FC929 #297FC9
tetradic
#C9297F #C9C329 #29C973 #292FC9
square
#C9297F #C9C329 #29C973 #292FC9
split-complementary
#C9297F #2FC929 #29C9C3
monochromatic
#63143F #961F5F #C9297F #DC539D #E686BA

Accessibility & contrast

On white

5.11
#C9297F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#C9297F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C9297F
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9297F#FFFFFF#000000##FFFFFF
##C9297F1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5B81
Deuteranopia (green-blind)
#77787B
Tritanopia (blue-blind)
#D91251
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c9297f;
/* rgb */ color: rgb(201, 41, 127);
/* oklch */ color: oklch(56.5% 0.206 353.6);
Tailwind
colors: {
  custom: {
    50: '#df75a4',
    500: '#c9297f',
    950: '#000000',
  },
}
SCSS
$custom: #c9297f;
$custom-light: #df75a4;
$custom-dark: #000000;
JSON
{
  "hex": "#c9297f",
  "rgb": {
    "r": 201,
    "g": 41,
    "b": 127
  },
  "hsl": {
    "h": 327.75,
    "s": 66.116,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56491,
    "c": 0.20629,
    "h": 353.6
  },
  "luminance": 0.15536
}

Semantic roles & 50–950 ramp

primary
#C9297F
secondary
#7ED0A4
accent
#E98E3F
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#16090F
muted
#847B7F

Preview Lab

Preview with #C9297F

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

Preview Lab → · Contrast checker → · Palette generator →

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