#CA427B#CA427B

#CA427B is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.7% C 0.178 H 358.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#CA427B
RGBrgb(202, 66, 123)
HSLhsl(335, 56%, 53%)
HSVhsv(335, 67%, 79%)
CMYKcmyk(0%, 67.3%, 39.1%, 20.8%)
CIE-LABlab(49.36, 58.27, -2.15)
CIE-LCHlch(49.36, 58.31, 357.88°)
OKLaboklab(58.68% 0.1784 -0.0049)
OKLCHoklch(58.68% 0.179 358.4)
XYZxyz(29.8824, 17.8866, 20.6139)
Luminance0.1788 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA427B #42CA91
analogous
#CA42BF #CA427B #CA4D42
triadic
#CA427B #7BCA42 #427BCA
tetradic
#CA427B #BFCA42 #42CA91 #4D42CA
square
#CA427B #BFCA42 #42CA91 #4D42CA
split-complementary
#CA427B #42CA4D #42BFCA
monochromatic
#722042 #A22D5E #CA427B #D7729C #E5A2BE

Accessibility & contrast

On white

4.59
#CA427B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#CA427B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CA427B
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA427B#FFFFFF#000000##FFFFFF
##CA427B1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C657D
Deuteranopia (green-blind)
#817F78
Tritanopia (blue-blind)
#DA3359
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ca427b;
/* rgb */ color: rgb(202, 66, 123);
/* oklch */ color: oklch(58.7% 0.178 358.4);
Tailwind
colors: {
  custom: {
    50: '#df7fa1',
    500: '#ca427b',
    950: '#000000',
  },
}
SCSS
$custom: #ca427b;
$custom-light: #df7fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca427b",
  "rgb": {
    "r": 202,
    "g": 66,
    "b": 123
  },
  "hsl": {
    "h": 334.853,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58679,
    "c": 0.1785,
    "h": 358.4
  },
  "luminance": 0.17883
}

Semantic roles & 50–950 ramp

primary
#CA427B
secondary
#96D1B9
accent
#DFA048
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CA427B

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

Preview Lab → · Contrast checker → · Palette generator →

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