#CA279E#CA279E

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

Color values

HEX#CA279E
RGBrgb(202, 39, 158)
HSLhsl(316, 68%, 47%)
HSVhsv(316, 81%, 79%)
CMYKcmyk(0%, 80.7%, 21.8%, 20.8%)
CIE-LABlab(47.60, 70.99, -25.87)
CIE-LCHlch(47.60, 75.56, 339.98°)
OKLaboklab(57.82% 0.2137 -0.0696)
OKLCHoklch(57.82% 0.225 342)
XYZxyz(31.2553, 16.4796, 33.8760)
Luminance0.1648 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA279E #27CA53
analogous
#A427CA #CA279E #CA274D
triadic
#CA279E #9ECA27 #279ECA
tetradic
#CA279E #CAA427 #27CA53 #274DCA
square
#CA279E #CAA427 #27CA53 #274DCA
split-complementary
#CA279E #4DCA27 #27CAA4
monochromatic
#63134E #971D76 #CA279E #DD51B7 #E784CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA279E#FFFFFF#000000##FFFFFF
##CA279E1.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)
#3960A1
Deuteranopia (green-blind)
#6E7A9A
Tritanopia (blue-blind)
#D72A61
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca279e;
/* rgb */ color: rgb(202, 39, 158);
/* oklch */ color: oklch(57.8% 0.225 342.0);
Tailwind
colors: {
  custom: {
    50: '#df75bb',
    500: '#ca279e',
    950: '#000000',
  },
}
SCSS
$custom: #ca279e;
$custom-light: #df75bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca279e",
  "rgb": {
    "r": 202,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 316.196,
    "s": 67.635,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57819,
    "c": 0.22474,
    "h": 342
  },
  "luminance": 0.16476
}

Semantic roles & 50–950 ramp

primary
#CA279E
secondary
#7CD093
accent
#EB6C3D
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A11
muted
#847C80

Preview Lab

Preview with #CA279E

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

Preview Lab → · Contrast checker → · Palette generator →

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