#CA229F#CA229F

#CA229F is a mid, highly saturated pink. Relative luminance 0.162; OKLCH L 57.6% C 0.229 H 341.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#CA229F
RGBrgb(202, 34, 159)
HSLhsl(315, 71%, 46%)
HSVhsv(315, 83%, 79%)
CMYKcmyk(0%, 83.2%, 21.3%, 20.8%)
CIE-LABlab(47.25, 72.26, -27.01)
CIE-LCHlch(47.25, 77.15, 339.50°)
OKLaboklab(57.58% 0.2174 -0.0728)
OKLCHoklch(57.58% 0.229 341.5)
XYZxyz(31.1883, 16.2072, 34.2800)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA229F #22CA4D
analogous
#A122CA #CA229F #CA224B
triadic
#CA229F #9FCA22 #229FCA
tetradic
#CA229F #CAA122 #22CA4D #224BCA
square
#CA229F #CAA122 #22CA4D #224BCA
split-complementary
#CA229F #4BCA22 #22CAA1
monochromatic
#61104D #961976 #CA229F #E049BA #E97DCE

Accessibility & contrast

On white

4.95
#CA229F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#CA229F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA229F
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA229F#FFFFFF#000000##FFFFFF
##CA229F1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355FA2
Deuteranopia (green-blind)
#6D799B
Tritanopia (blue-blind)
#D72661
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ca229f;
/* rgb */ color: rgb(202, 34, 159);
/* oklch */ color: oklch(57.6% 0.229 341.5);
Tailwind
colors: {
  custom: {
    50: '#df74bb',
    500: '#ca229f',
    950: '#000000',
  },
}
SCSS
$custom: #ca229f;
$custom-light: #df74bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca229f",
  "rgb": {
    "r": 202,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 315.357,
    "s": 71.186,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5758,
    "c": 0.22921,
    "h": 341.5
  },
  "luminance": 0.16204
}

Semantic roles & 50–950 ramp

primary
#CA229F
secondary
#77D18E
accent
#EE683A
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160912
muted
#847B81

Preview Lab

Preview with #CA229F

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

Preview Lab → · Contrast checker → · Palette generator →

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