#CA3871#CA3871

#CA3871 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.4% C 0.187 H 1.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CA3871
RGBrgb(202, 56, 113)
HSLhsl(337, 58%, 51%)
HSVhsv(337, 72%, 79%)
CMYKcmyk(0%, 72.3%, 44.1%, 20.8%)
CIE-LABlab(47.73, 60.97, 1.54)
CIE-LCHlch(47.73, 60.98, 1.45°)
OKLaboklab(57.38% 0.1869 0.0047)
OKLCHoklch(57.38% 0.187 1.4)
XYZxyz(28.7541, 16.5809, 17.3058)
Luminance0.1658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA3871 #38CA91
analogous
#CA38BA #CA3871 #CA4838
triadic
#CA3871 #71CA38 #3871CA
tetradic
#CA3871 #BACA38 #38CA91 #4838CA
square
#CA3871 #BACA38 #38CA91 #4838CA
split-complementary
#CA3871 #38CA48 #38BACA
monochromatic
#6B1D3B #9B2956 #CA3871 #D76893 #E499B6

Accessibility & contrast

On white

4.87
#CA3871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#CA3871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA3871
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA3871#FFFFFF#000000##FFFFFF
##CA38711.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585F72
Deuteranopia (green-blind)
#7F7C6E
Tritanopia (blue-blind)
#DB2150
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca3871;
/* rgb */ color: rgb(202, 56, 113);
/* oklch */ color: oklch(57.4% 0.187 1.4);
Tailwind
colors: {
  custom: {
    50: '#e07a99',
    500: '#ca3871',
    950: '#000000',
  },
}
SCSS
$custom: #ca3871;
$custom-light: #e07a99;
$custom-dark: #000000;
JSON
{
  "hex": "#ca3871",
  "rgb": {
    "r": 202,
    "g": 56,
    "b": 113
  },
  "hsl": {
    "h": 336.575,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57378,
    "c": 0.18693,
    "h": 1.4
  },
  "luminance": 0.16577
}

Semantic roles & 50–950 ramp

primary
#CA3871
secondary
#8ECFB6
accent
#E1A547
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CA3871

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

Preview Lab → · Contrast checker → · Palette generator →

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