#CA2F8F#CA2F8F

#CA2F8F is a mid, highly saturated pink. Relative luminance 0.166; OKLCH L 57.7% C 0.209 H 347.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CA2F8F
RGBrgb(202, 47, 143)
HSLhsl(323, 62%, 49%)
HSVhsv(323, 77%, 79%)
CMYKcmyk(0%, 76.7%, 29.2%, 20.8%)
CIE-LABlab(47.72, 67.03, -16.68)
CIE-LCHlch(47.72, 69.07, 346.02°)
OKLaboklab(57.71% 0.2044 -0.044)
OKLCHoklch(57.71% 0.209 347.9)
XYZxyz(30.3331, 16.5762, 27.5834)
Luminance0.1657 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2F8F #2FCA6A
analogous
#B82FCA #CA2F8F #CA2F41
triadic
#CA2F8F #8FCA2F #2F8FCA
tetradic
#CA2F8F #CAB82F #2FCA6A #2F41CA
square
#CA2F8F #CAB82F #2FCA6A #2F41CA
split-complementary
#CA2F8F #41CA2F #2FCAB8
monochromatic
#671849 #98236C #CA2F8F #D95DAA #E58FC4

Accessibility & contrast

On white

4.87
#CA2F8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#CA2F8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2F8F
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2F8F#FFFFFF#000000##FFFFFF
##CA2F8F1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476092
Deuteranopia (green-blind)
#757B8C
Tritanopia (blue-blind)
#D8275C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca2f8f;
/* rgb */ color: rgb(202, 47, 143);
/* oklch */ color: oklch(57.7% 0.209 347.9);
Tailwind
colors: {
  custom: {
    50: '#df77b0',
    500: '#ca2f8f',
    950: '#000000',
  },
}
SCSS
$custom: #ca2f8f;
$custom-light: #df77b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2f8f",
  "rgb": {
    "r": 202,
    "g": 47,
    "b": 143
  },
  "hsl": {
    "h": 322.839,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57705,
    "c": 0.2091,
    "h": 347.9
  },
  "luminance": 0.16573
}

Semantic roles & 50–950 ramp

primary
#CA2F8F
secondary
#86CFA2
accent
#E58042
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CA2F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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