#CA2F8A#CA2F8A

#CA2F8A is a mid, highly saturated pink. Relative luminance 0.164; OKLCH L 57.5% C 0.207 H 349.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#CA2F8A
RGBrgb(202, 47, 138)
HSLhsl(325, 62%, 49%)
HSVhsv(325, 77%, 79%)
CMYKcmyk(0%, 76.7%, 31.7%, 20.8%)
CIE-LABlab(47.53, 66.45, -13.96)
CIE-LCHlch(47.53, 67.90, 348.14°)
OKLaboklab(57.51% 0.2033 -0.0365)
OKLCHoklch(57.51% 0.207 349.8)
XYZxyz(29.9628, 16.4281, 25.6329)
Luminance0.1643 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2F8A #2FCA6F
analogous
#BD2FCA #CA2F8A #CA2F3D
triadic
#CA2F8A #8ACA2F #2F8ACA
tetradic
#CA2F8A #CABD2F #2FCA6F #2F3DCA
square
#CA2F8A #CABD2F #2FCA6F #2F3DCA
split-complementary
#CA2F8A #3DCA2F #2FCABD
monochromatic
#671846 #982368 #CA2F8A #D95DA6 #E58FC1

Accessibility & contrast

On white

4.90
#CA2F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#CA2F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2F8A
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2F8A#FFFFFF#000000##FFFFFF
##CA2F8A1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5F8C
Deuteranopia (green-blind)
#777B87
Tritanopia (blue-blind)
#D92459
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca2f8a;
/* rgb */ color: rgb(202, 47, 138);
/* oklch */ color: oklch(57.5% 0.207 349.8);
Tailwind
colors: {
  custom: {
    50: '#df77ac',
    500: '#ca2f8a',
    950: '#000000',
  },
}
SCSS
$custom: #ca2f8a;
$custom-light: #df77ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2f8a",
  "rgb": {
    "r": 202,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 324.774,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57505,
    "c": 0.20654,
    "h": 349.8
  },
  "luminance": 0.16425
}

Semantic roles & 50–950 ramp

primary
#CA2F8A
secondary
#86CFA4
accent
#E58642
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CA2F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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