#C4257E#C4257E

#C4257E is a mid, highly saturated pink. Relative luminance 0.146; OKLCH L 55.3% C 0.206 H 352.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#C4257E
RGBrgb(196, 37, 126)
HSLhsl(326, 68%, 46%)
HSVhsv(326, 81%, 77%)
CMYKcmyk(0%, 81.1%, 35.7%, 23.1%)
CIE-LABlab(45.04, 66.38, -10.53)
CIE-LCHlch(45.04, 67.21, 350.99°)
OKLaboklab(55.35% 0.204 -0.0271)
OKLCHoklch(55.35% 0.206 352.4)
XYZxyz(27.1942, 14.5687, 21.1146)
Luminance0.1457 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4257E #25C46B
analogous
#BA25C4 #C4257E #C4252F
triadic
#C4257E #7EC425 #257EC4
tetradic
#C4257E #C4BA25 #25C46B #252FC4
square
#C4257E #C4BA25 #25C46B #252FC4
split-complementary
#C4257E #2FC425 #25C4BA
monochromatic
#5D123C #911B5D #C4257E #DD499C #E67DB8

Accessibility & contrast

On white

5.37
#C4257E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#C4257E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C4257E
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4257E#FFFFFF#000000##FFFFFF
##C4257E1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465880
Deuteranopia (green-blind)
#73757B
Tritanopia (blue-blind)
#D30F4F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c4257e;
/* rgb */ color: rgb(196, 37, 126);
/* oklch */ color: oklch(55.3% 0.206 352.4);
Tailwind
colors: {
  custom: {
    50: '#db72a3',
    500: '#c4257e',
    950: '#000000',
  },
}
SCSS
$custom: #c4257e;
$custom-light: #db72a3;
$custom-dark: #000000;
JSON
{
  "hex": "#c4257e",
  "rgb": {
    "r": 196,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 326.415,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55345,
    "c": 0.20578,
    "h": 352.4
  },
  "luminance": 0.14565
}

Semantic roles & 50–950 ramp

primary
#C4257E
secondary
#76CF9D
accent
#EB893D
background
#FEF7FA
surface
#FCEDF3
border
#D5C8CD
text
#16090F
muted
#847B7F

Preview Lab

Preview with #C4257E

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

Preview Lab → · Contrast checker → · Palette generator →

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