#CA2F8C#CA2F8C

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

Color values

HEX#CA2F8C
RGBrgb(202, 47, 140)
HSLhsl(324, 62%, 49%)
HSVhsv(324, 77%, 79%)
CMYKcmyk(0%, 76.7%, 30.7%, 20.8%)
CIE-LABlab(47.61, 66.68, -15.05)
CIE-LCHlch(47.61, 68.36, 347.28°)
OKLaboklab(57.58% 0.2038 -0.0394)
OKLCHoklch(57.58% 0.208 349)
XYZxyz(30.1089, 16.4866, 26.4025)
Luminance0.1648 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2F8C #2FCA6D
analogous
#BB2FCA #CA2F8C #CA2F3F
triadic
#CA2F8C #8CCA2F #2F8CCA
tetradic
#CA2F8C #CABB2F #2FCA6D #2F3FCA
square
#CA2F8C #CABB2F #2FCA6D #2F3FCA
split-complementary
#CA2F8C #3FCA2F #2FCABB
monochromatic
#671847 #98236A #CA2F8C #D95DA8 #E58FC2

Accessibility & contrast

On white

4.89
#CA2F8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CA2F8C
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2F8C#FFFFFF#000000##FFFFFF
##CA2F8C1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49608E
Deuteranopia (green-blind)
#767B89
Tritanopia (blue-blind)
#D9255A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca2f8c;
/* rgb */ color: rgb(202, 47, 140);
/* oklch */ color: oklch(57.6% 0.208 349.0);
Tailwind
colors: {
  custom: {
    50: '#df77ad',
    500: '#ca2f8c',
    950: '#000000',
  },
}
SCSS
$custom: #ca2f8c;
$custom-light: #df77ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2f8c",
  "rgb": {
    "r": 202,
    "g": 47,
    "b": 140
  },
  "hsl": {
    "h": 324,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57584,
    "c": 0.20754,
    "h": 349
  },
  "luminance": 0.16483
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA2F8C

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

Preview Lab → · Contrast checker → · Palette generator →

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