#CA279F#CA279F

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

Color values

HEX#CA279F
RGBrgb(202, 39, 159)
HSLhsl(316, 68%, 47%)
HSVhsv(316, 81%, 79%)
CMYKcmyk(0%, 80.7%, 21.3%, 20.8%)
CIE-LABlab(47.64, 71.12, -26.40)
CIE-LCHlch(47.64, 75.86, 339.64°)
OKLaboklab(57.87% 0.2138 -0.0711)
OKLCHoklch(57.87% 0.225 341.6)
XYZxyz(31.3418, 16.5141, 34.3311)
Luminance0.1651 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA279F #27CA52
analogous
#A327CA #CA279F #CA274E
triadic
#CA279F #9FCA27 #279FCA
tetradic
#CA279F #CAA327 #27CA52 #274ECA
square
#CA279F #CAA327 #27CA52 #274ECA
split-complementary
#CA279F #4ECA27 #27CAA3
monochromatic
#63134E #971D77 #CA279F #DD51B8 #E784CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA279F#FFFFFF#000000##FFFFFF
##CA279F1.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)
#3960A2
Deuteranopia (green-blind)
#6E7A9B
Tritanopia (blue-blind)
#D72B62
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca279f;
/* rgb */ color: rgb(202, 39, 159);
/* oklch */ color: oklch(57.9% 0.225 341.6);
Tailwind
colors: {
  custom: {
    50: '#df75bb',
    500: '#ca279f',
    950: '#000000',
  },
}
SCSS
$custom: #ca279f;
$custom-light: #df75bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca279f",
  "rgb": {
    "r": 202,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 315.828,
    "s": 67.635,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57865,
    "c": 0.22534,
    "h": 341.6
  },
  "luminance": 0.16511
}

Semantic roles & 50–950 ramp

primary
#CA279F
secondary
#7CD093
accent
#EB6B3D
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA279F

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

Preview Lab → · Contrast checker → · Palette generator →

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