#CA3A8E#CA3A8E

#CA3A8E is a mid, vivid pink. Relative luminance 0.175; OKLCH L 58.6% C 0.197 H 349.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#CA3A8E
RGBrgb(202, 58, 142)
HSLhsl(325, 58%, 51%)
HSVhsv(325, 71%, 79%)
CMYKcmyk(0%, 71.3%, 29.7%, 20.8%)
CIE-LABlab(48.93, 63.38, -14.24)
CIE-LCHlch(48.93, 64.96, 347.34°)
OKLaboklab(58.58% 0.1932 -0.0373)
OKLCHoklch(58.58% 0.197 349.1)
XYZxyz(30.7542, 17.5391, 27.3517)
Luminance0.1754 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA3A8E #3ACA76
analogous
#BE3ACA #CA3A8E #CA3A46
triadic
#CA3A8E #8ECA3A #3A8ECA
tetradic
#CA3A8E #CABE3A #3ACA76 #3A46CA
square
#CA3A8E #CABE3A #3ACA76 #3A46CA
split-complementary
#CA3A8E #46CA3A #3ACABE
monochromatic
#6C1D4B #9D2A6D #CA3A8E #D76AAA #E49AC5

Accessibility & contrast

On white

4.66
#CA3A8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#CA3A8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CA3A8E
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA3A8E#FFFFFF#000000##FFFFFF
##CA3A8E1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6490
Deuteranopia (green-blind)
#797D8B
Tritanopia (blue-blind)
#D8335F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ca3a8e;
/* rgb */ color: rgb(202, 58, 142);
/* oklch */ color: oklch(58.6% 0.197 349.1);
Tailwind
colors: {
  custom: {
    50: '#df7caf',
    500: '#ca3a8e',
    950: '#000000',
  },
}
SCSS
$custom: #ca3a8e;
$custom-light: #df7caf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca3a8e",
  "rgb": {
    "r": 202,
    "g": 58,
    "b": 142
  },
  "hsl": {
    "h": 325,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58576,
    "c": 0.19675,
    "h": 349.1
  },
  "luminance": 0.17536
}

Semantic roles & 50–950 ramp

primary
#CA3A8E
secondary
#90D0AB
accent
#E18747
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CA3A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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