#CA285F#CA285F

#CA285F is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.6% C 0.198 H 7.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#CA285F
RGBrgb(202, 40, 95)
HSLhsl(340, 67%, 47%)
HSVhsv(340, 80%, 79%)
CMYKcmyk(0%, 80.2%, 53%, 20.8%)
CIE-LABlab(45.50, 64.33, 9.44)
CIE-LCHlch(45.50, 65.02, 8.35°)
OKLaboklab(55.58% 0.1963 0.0243)
OKLCHoklch(55.58% 0.198 7.1)
XYZxyz(27.1840, 14.9043, 12.2697)
Luminance0.1490 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA285F #28CA93
analogous
#CA28B0 #CA285F #CA4228
triadic
#CA285F #5FCA28 #285FCA
tetradic
#CA285F #B0CA28 #28CA93 #4228CA
square
#CA285F #B0CA28 #28CA93 #4228CA
split-complementary
#CA285F #28CA42 #28B0CA
monochromatic
#64142F #971E47 #CA285F #DD5281 #E785A7

Accessibility & contrast

On white

5.28
#CA285F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#CA285F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA285F
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA285F#FFFFFF#000000##FFFFFF
##CA285F1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545760
Deuteranopia (green-blind)
#7E775B
Tritanopia (blue-blind)
#DD0041
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ca285f;
/* rgb */ color: rgb(202, 40, 95);
/* oklch */ color: oklch(55.6% 0.198 7.1);
Tailwind
colors: {
  custom: {
    50: '#e1738c',
    500: '#ca285f',
    950: '#000000',
  },
}
SCSS
$custom: #ca285f;
$custom-light: #e1738c;
$custom-dark: #000000;
JSON
{
  "hex": "#ca285f",
  "rgb": {
    "r": 202,
    "g": 40,
    "b": 95
  },
  "hsl": {
    "h": 339.63,
    "s": 66.942,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55582,
    "c": 0.19776,
    "h": 7.1
  },
  "luminance": 0.149
}

Semantic roles & 50–950 ramp

primary
#CA285F
secondary
#7ED0B4
accent
#EAAF3E
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#17090C
muted
#857B7D

Preview Lab

Preview with #CA285F

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

Preview Lab → · Contrast checker → · Palette generator →

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