#CA2F8B#CA2F8B

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

Color values

HEX#CA2F8B
RGBrgb(202, 47, 139)
HSLhsl(324, 62%, 49%)
HSVhsv(324, 77%, 79%)
CMYKcmyk(0%, 76.7%, 31.2%, 20.8%)
CIE-LABlab(47.57, 66.56, -14.50)
CIE-LCHlch(47.57, 68.13, 347.71°)
OKLaboklab(57.54% 0.2035 -0.0379)
OKLCHoklch(57.54% 0.207 349.4)
XYZxyz(30.0355, 16.4572, 26.0159)
Luminance0.1645 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2F8B #2FCA6E
analogous
#BC2FCA #CA2F8B #CA2F3E
triadic
#CA2F8B #8BCA2F #2F8BCA
tetradic
#CA2F8B #CABC2F #2FCA6E #2F3ECA
square
#CA2F8B #CABC2F #2FCA6E #2F3ECA
split-complementary
#CA2F8B #3ECA2F #2FCABC
monochromatic
#671847 #982369 #CA2F8B #D95DA7 #E58FC2

Accessibility & contrast

On white

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

On black

4.29
#CA2F8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CA2F8B#FFFFFF#000000##FFFFFF
##CA2F8B1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495F8D
Deuteranopia (green-blind)
#767B88
Tritanopia (blue-blind)
#D92559
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca2f8b;
/* rgb */ color: rgb(202, 47, 139);
/* oklch */ color: oklch(57.5% 0.207 349.4);
Tailwind
colors: {
  custom: {
    50: '#df77ad',
    500: '#ca2f8b',
    950: '#000000',
  },
}
SCSS
$custom: #ca2f8b;
$custom-light: #df77ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2f8b",
  "rgb": {
    "r": 202,
    "g": 47,
    "b": 139
  },
  "hsl": {
    "h": 324.387,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57544,
    "c": 0.20704,
    "h": 349.4
  },
  "luminance": 0.16454
}

Semantic roles & 50–950 ramp

primary
#CA2F8B
secondary
#86CFA4
accent
#E58542
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CA2F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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