#CA5271#CA5271

#CA5271 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.3% C 0.155 H 7.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CA5271
RGBrgb(202, 82, 113)
HSLhsl(345, 53%, 56%)
HSVhsv(345, 59%, 79%)
CMYKcmyk(0%, 59.4%, 44.1%, 20.8%)
CIE-LABlab(51.60, 50.42, 7.10)
CIE-LCHlch(51.60, 50.92, 8.02°)
OKLaboklab(60.25% 0.1534 0.0188)
OKLCHoklch(60.25% 0.155 7)
XYZxyz(30.3571, 19.7869, 17.8402)
Luminance0.1978 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5271 #52CAAB
analogous
#CA52AD #CA5271 #CA6F52
triadic
#CA5271 #71CA52 #5271CA
tetradic
#CA5271 #ADCA52 #52CAAB #6F52CA
square
#CA5271 #ADCA52 #52CAAB #6F52CA
split-complementary
#CA5271 #52CA6F #52ADCA
monochromatic
#7C263C #AB3453 #CA5271 #D88197 #E7B0BE

Accessibility & contrast

On white

4.24
#CA5271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CA5271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5271
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5271#FFFFFF#000000##000000
##CA52711.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A6C72
Deuteranopia (green-blind)
#89846E
Tritanopia (blue-blind)
#DB435E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca5271;
/* rgb */ color: rgb(202, 82, 113);
/* oklch */ color: oklch(60.3% 0.155 7.0);
Tailwind
colors: {
  custom: {
    50: '#df8899',
    500: '#ca5271',
    950: '#000000',
  },
}
SCSS
$custom: #ca5271;
$custom-light: #df8899;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5271",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 344.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60251,
    "c": 0.15454,
    "h": 7
  },
  "luminance": 0.19783
}

Semantic roles & 50–950 ramp

primary
#CA5271
secondary
#A3D5C8
accent
#DDB74B
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0D
muted
#847D7E

Preview Lab

Preview with #CA5271

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

Preview Lab → · Contrast checker → · Palette generator →

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