#CA2F8D#CA2F8D

#CA2F8D is a mid, highly saturated pink. Relative luminance 0.165; OKLCH L 57.6% C 0.208 H 348.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CA2F8D
RGBrgb(202, 47, 141)
HSLhsl(324, 62%, 49%)
HSVhsv(324, 77%, 79%)
CMYKcmyk(0%, 76.7%, 30.2%, 20.8%)
CIE-LABlab(47.64, 66.79, -15.60)
CIE-LCHlch(47.64, 68.59, 346.86°)
OKLaboklab(57.62% 0.204 -0.0409)
OKLCHoklch(57.62% 0.208 348.6)
XYZxyz(30.1830, 16.5162, 26.7926)
Luminance0.1651 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2F8D #2FCA6C
analogous
#BA2FCA #CA2F8D #CA2F40
triadic
#CA2F8D #8DCA2F #2F8DCA
tetradic
#CA2F8D #CABA2F #2FCA6C #2F40CA
square
#CA2F8D #CABA2F #2FCA6C #2F40CA
split-complementary
#CA2F8D #40CA2F #2FCABA
monochromatic
#671848 #98236A #CA2F8D #D95DA8 #E58FC3

Accessibility & contrast

On white

4.88
#CA2F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#CA2F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2F8D
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2F8D#FFFFFF#000000##FFFFFF
##CA2F8D1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48608F
Deuteranopia (green-blind)
#767B8A
Tritanopia (blue-blind)
#D9265A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca2f8d;
/* rgb */ color: rgb(202, 47, 141);
/* oklch */ color: oklch(57.6% 0.208 348.6);
Tailwind
colors: {
  custom: {
    50: '#df77ae',
    500: '#ca2f8d',
    950: '#000000',
  },
}
SCSS
$custom: #ca2f8d;
$custom-light: #df77ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2f8d",
  "rgb": {
    "r": 202,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 323.613,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57624,
    "c": 0.20806,
    "h": 348.6
  },
  "luminance": 0.16513
}

Semantic roles & 50–950 ramp

primary
#CA2F8D
secondary
#86CFA3
accent
#E58342
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CA2F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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