#CA4072#CA4072

#CA4072 is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.2% C 0.178 H 2.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#CA4072
RGBrgb(202, 64, 114)
HSLhsl(338, 57%, 52%)
HSVhsv(338, 68%, 79%)
CMYKcmyk(0%, 68.3%, 43.6%, 20.8%)
CIE-LABlab(48.81, 58.13, 2.50)
CIE-LCHlch(48.81, 58.19, 2.46°)
OKLaboklab(58.19% 0.1779 0.0071)
OKLCHoklch(58.19% 0.178 2.3)
XYZxyz(29.2299, 17.4419, 17.7437)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4072 #40CA98
analogous
#CA40B7 #CA4072 #CA5340
triadic
#CA4072 #72CA40 #4072CA
tetradic
#CA4072 #B7CA40 #40CA98 #5340CA
square
#CA4072 #B7CA40 #40CA98 #5340CA
split-complementary
#CA4072 #40CA53 #40B7CA
monochromatic
#701F3D #A02C56 #CA4072 #D77095 #E5A0B9

Accessibility & contrast

On white

4.68
#CA4072 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#CA4072 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA4072
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4072#FFFFFF#000000##FFFFFF
##CA40721.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6373
Deuteranopia (green-blind)
#827E6F
Tritanopia (blue-blind)
#DB2D54
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ca4072;
/* rgb */ color: rgb(202, 64, 114);
/* oklch */ color: oklch(58.2% 0.178 2.3);
Tailwind
colors: {
  custom: {
    50: '#df7e9a',
    500: '#ca4072',
    950: '#000000',
  },
}
SCSS
$custom: #ca4072;
$custom-light: #df7e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4072",
  "rgb": {
    "r": 202,
    "g": 64,
    "b": 114
  },
  "hsl": {
    "h": 338.261,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58188,
    "c": 0.17801,
    "h": 2.3
  },
  "luminance": 0.17438
}

Semantic roles & 50–950 ramp

primary
#CA4072
secondary
#95D1BB
accent
#E0A948
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CA4072

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

Preview Lab → · Contrast checker → · Palette generator →

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