#CA4871#CA4871

#CA4871 is a mid, vivid pink. Relative luminance 0.184; OKLCH L 59.0% C 0.168 H 4.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#CA4871
RGBrgb(202, 72, 113)
HSLhsl(341, 55%, 54%)
HSVhsv(341, 64%, 79%)
CMYKcmyk(0%, 64.4%, 44.1%, 20.8%)
CIE-LABlab(49.96, 54.81, 4.77)
CIE-LCHlch(49.96, 55.02, 4.97°)
OKLaboklab(59.03% 0.1673 0.0129)
OKLCHoklch(59.03% 0.168 4.4)
XYZxyz(29.6573, 18.3871, 17.6069)
Luminance0.1838 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4871 #48CAA1
analogous
#CA48B2 #CA4871 #CA6048
triadic
#CA4871 #71CA48 #4871CA
tetradic
#CA4871 #B2CA48 #48CAA1 #6048CA
square
#CA4871 #B2CA48 #48CAA1 #6048CA
split-complementary
#CA4871 #48CA60 #48B2CA
monochromatic
#76223C #A53055 #CA4871 #D87796 #E5A7BB

Accessibility & contrast

On white

4.49
#CA4871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#CA4871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4871
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4871#FFFFFF#000000##000000
##CA48711.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#636772
Deuteranopia (green-blind)
#85806E
Tritanopia (blue-blind)
#DB3758
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ca4871;
/* rgb */ color: rgb(202, 72, 113);
/* oklch */ color: oklch(59.0% 0.168 4.4);
Tailwind
colors: {
  custom: {
    50: '#df8299',
    500: '#ca4871',
    950: '#000000',
  },
}
SCSS
$custom: #ca4871;
$custom-light: #df8299;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4871",
  "rgb": {
    "r": 202,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 341.077,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59033,
    "c": 0.16777,
    "h": 4.4
  },
  "luminance": 0.18384
}

Semantic roles & 50–950 ramp

primary
#CA4871
secondary
#9BD3C1
accent
#DEAF49
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CA4871

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

Preview Lab → · Contrast checker → · Palette generator →

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