#CA2862#CA2862

#CA2862 is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.7% C 0.198 H 5.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#CA2862
RGBrgb(202, 40, 98)
HSLhsl(339, 67%, 47%)
HSVhsv(339, 80%, 79%)
CMYKcmyk(0%, 80.2%, 51.5%, 20.8%)
CIE-LABlab(45.58, 64.56, 7.68)
CIE-LCHlch(45.58, 65.02, 6.79°)
OKLaboklab(55.66% 0.1974 0.02)
OKLCHoklch(55.66% 0.198 5.8)
XYZxyz(27.3230, 14.9599, 13.0017)
Luminance0.1496 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2862 #28CA90
analogous
#CA28B3 #CA2862 #CA3F28
triadic
#CA2862 #62CA28 #2862CA
tetradic
#CA2862 #B3CA28 #28CA90 #3F28CA
square
#CA2862 #B3CA28 #28CA90 #3F28CA
split-complementary
#CA2862 #28CA3F #28B3CA
monochromatic
#641430 #971E49 #CA2862 #DD5284 #E785A8

Accessibility & contrast

On white

5.26
#CA2862 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#CA2862 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2862
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2862#FFFFFF#000000##FFFFFF
##CA28621.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535763
Deuteranopia (green-blind)
#7E775E
Tritanopia (blue-blind)
#DC0042
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ca2862;
/* rgb */ color: rgb(202, 40, 98);
/* oklch */ color: oklch(55.7% 0.198 5.8);
Tailwind
colors: {
  custom: {
    50: '#e1738e',
    500: '#ca2862',
    950: '#000000',
  },
}
SCSS
$custom: #ca2862;
$custom-light: #e1738e;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2862",
  "rgb": {
    "r": 202,
    "g": 40,
    "b": 98
  },
  "hsl": {
    "h": 338.519,
    "s": 66.942,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55663,
    "c": 0.19837,
    "h": 5.8
  },
  "luminance": 0.14956
}

Semantic roles & 50–950 ramp

primary
#CA2862
secondary
#7ED0B3
accent
#EAAC3E
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#17090C
muted
#857B7D

Preview Lab

Preview with #CA2862

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

Preview Lab → · Contrast checker → · Palette generator →

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