#CA2B5F#CA2B5F

#CA2B5F is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.8% C 0.195 H 7.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#CA2B5F
RGBrgb(202, 43, 95)
HSLhsl(340, 65%, 48%)
HSVhsv(340, 79%, 79%)
CMYKcmyk(0%, 78.7%, 53%, 20.8%)
CIE-LABlab(45.79, 63.51, 9.84)
CIE-LCHlch(45.79, 64.27, 8.81°)
OKLaboklab(55.79% 0.1936 0.0253)
OKLCHoklch(55.79% 0.195 7.4)
XYZxyz(27.2891, 15.1144, 12.3047)
Luminance0.1511 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2B5F #2BCA96
analogous
#CA2BAF #CA2B5F #CA462B
triadic
#CA2B5F #5FCA2B #2B5FCA
tetradic
#CA2B5F #AFCA2B #2BCA96 #462BCA
square
#CA2B5F #AFCA2B #2BCA96 #462BCA
split-complementary
#CA2B5F #2BCA46 #2BAFCA
monochromatic
#651630 #982047 #CA2B5F #DB5782 #E689A8

Accessibility & contrast

On white

5.22
#CA2B5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#CA2B5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2B5F
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2B5F#FFFFFF#000000##FFFFFF
##CA2B5F1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca2b5f;
/* rgb */ color: rgb(202, 43, 95);
/* oklch */ color: oklch(55.8% 0.195 7.4);
Tailwind
colors: {
  custom: {
    50: '#e1748c',
    500: '#ca2b5f',
    950: '#000000',
  },
}
SCSS
$custom: #ca2b5f;
$custom-light: #e1748c;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2b5f",
  "rgb": {
    "r": 202,
    "g": 43,
    "b": 95
  },
  "hsl": {
    "h": 340.377,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55794,
    "c": 0.19527,
    "h": 7.4
  },
  "luminance": 0.15111
}

Semantic roles & 50–950 ramp

primary
#CA2B5F
secondary
#81D0B6
accent
#E8B140
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#17090C
muted
#857B7D

Preview Lab

Preview with #CA2B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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