#CA5297#CA5297

#CA5297 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.5% C 0.170 H 347.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CA5297
RGBrgb(202, 82, 151)
HSLhsl(326, 53%, 56%)
HSVhsv(326, 59%, 79%)
CMYKcmyk(0%, 59.4%, 25.2%, 20.8%)
CIE-LABlab(52.76, 54.90, -13.80)
CIE-LCHlch(52.76, 56.61, 345.89°)
OKLaboklab(61.5% 0.1657 -0.0363)
OKLCHoklch(61.5% 0.17 347.7)
XYZxyz(32.9615, 20.8286, 31.5566)
Luminance0.2083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5297 #52CA85
analogous
#C152CA #CA5297 #CA525B
triadic
#CA5297 #97CA52 #5297CA
tetradic
#CA5297 #CAC152 #52CA85 #525BCA
square
#CA5297 #CAC152 #52CA85 #525BCA
split-complementary
#CA5297 #5BCA52 #52CAC1
monochromatic
#7C2657 #AB3478 #CA5297 #D881B3 #E7B0CF

Accessibility & contrast

On white

4.07
#CA5297 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CA5297 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5297
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5297#FFFFFF#000000##000000
##CA52971.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7199
Deuteranopia (green-blind)
#818694
Tritanopia (blue-blind)
#D74F6E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ca5297;
/* rgb */ color: rgb(202, 82, 151);
/* oklch */ color: oklch(61.5% 0.170 347.7);
Tailwind
colors: {
  custom: {
    50: '#dd89b5',
    500: '#ca5297',
    950: '#000000',
  },
}
SCSS
$custom: #ca5297;
$custom-light: #dd89b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5297",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 151
  },
  "hsl": {
    "h": 325.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61502,
    "c": 0.16964,
    "h": 347.7
  },
  "luminance": 0.20826
}

Semantic roles & 50–950 ramp

primary
#CA5297
secondary
#A3D5B8
accent
#DD894B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CA5297

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

Preview Lab → · Contrast checker → · Palette generator →

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