#C5257A#C5257A

#C5257A is a mid, highly saturated pink. Relative luminance 0.146; OKLCH L 55.4% C 0.205 H 354.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#C5257A
RGBrgb(197, 37, 122)
HSLhsl(328, 68%, 46%)
HSVhsv(328, 81%, 77%)
CMYKcmyk(0%, 81.2%, 38.1%, 22.7%)
CIE-LABlab(45.08, 66.21, -7.98)
CIE-LCHlch(45.08, 66.69, 353.13°)
OKLaboklab(55.37% 0.2037 -0.0202)
OKLCHoklch(55.37% 0.205 354.3)
XYZxyz(27.2023, 14.6021, 19.7946)
Luminance0.1460 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5257A #25C570
analogous
#C025C5 #C5257A #C5252A
triadic
#C5257A #7AC525 #257AC5
tetradic
#C5257A #C5C025 #25C570 #252AC5
square
#C5257A #C5C025 #25C570 #252AC5
split-complementary
#C5257A #2AC525 #25C5C0
monochromatic
#5E123A #911B5A #C5257A #DD4A98 #E77EB5

Accessibility & contrast

On white

5.36
#C5257A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#C5257A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5257A
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5257A#FFFFFF#000000##FFFFFF
##C5257A1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48587C
Deuteranopia (green-blind)
#757576
Tritanopia (blue-blind)
#D5074D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c5257a;
/* rgb */ color: rgb(197, 37, 122);
/* oklch */ color: oklch(55.4% 0.205 354.3);
Tailwind
colors: {
  custom: {
    50: '#dc72a0',
    500: '#c5257a',
    950: '#000000',
  },
}
SCSS
$custom: #c5257a;
$custom-light: #dc72a0;
$custom-dark: #000000;
JSON
{
  "hex": "#c5257a",
  "rgb": {
    "r": 197,
    "g": 37,
    "b": 122
  },
  "hsl": {
    "h": 328.125,
    "s": 68.376,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55367,
    "c": 0.20472,
    "h": 354.3
  },
  "luminance": 0.14599
}

Semantic roles & 50–950 ramp

primary
#C5257A
secondary
#77CFA0
accent
#EB8E3D
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C5257A

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

Preview Lab → · Contrast checker → · Palette generator →

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