#CA2A5F#CA2A5F

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

Color values

HEX#CA2A5F
RGBrgb(202, 42, 95)
HSLhsl(340, 66%, 48%)
HSVhsv(340, 79%, 79%)
CMYKcmyk(0%, 79.2%, 53%, 20.8%)
CIE-LABlab(45.69, 63.79, 9.70)
CIE-LCHlch(45.69, 64.53, 8.65°)
OKLaboklab(55.72% 0.1945 0.025)
OKLCHoklch(55.72% 0.196 7.3)
XYZxyz(27.2532, 15.0426, 12.2927)
Luminance0.1504 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2A5F #2ACA95
analogous
#CA2AAF #CA2A5F #CA452A
triadic
#CA2A5F #5FCA2A #2A5FCA
tetradic
#CA2A5F #AFCA2A #2ACA95 #452ACA
square
#CA2A5F #AFCA2A #2ACA95 #452ACA
split-complementary
#CA2A5F #2ACA45 #2AAFCA
monochromatic
#65152F #971F47 #CA2A5F #DC5582 #E688A7

Accessibility & contrast

On white

5.24
#CA2A5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#CA2A5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2A5F
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2A5F#FFFFFF#000000##FFFFFF
##CA2A5F1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555860
Deuteranopia (green-blind)
#7F785B
Tritanopia (blue-blind)
#DC0041
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ca2a5f;
/* rgb */ color: rgb(202, 42, 95);
/* oklch */ color: oklch(55.7% 0.196 7.3);
Tailwind
colors: {
  custom: {
    50: '#e1748c',
    500: '#ca2a5f',
    950: '#000000',
  },
}
SCSS
$custom: #ca2a5f;
$custom-light: #e1748c;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2a5f",
  "rgb": {
    "r": 202,
    "g": 42,
    "b": 95
  },
  "hsl": {
    "h": 340.125,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55721,
    "c": 0.19611,
    "h": 7.3
  },
  "luminance": 0.15039
}

Semantic roles & 50–950 ramp

primary
#CA2A5F
secondary
#80D0B5
accent
#E9B03F
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#17090C
muted
#857B7D

Preview Lab

Preview with #CA2A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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