#CA3A8B#CA3A8B

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

Color values

HEX#CA3A8B
RGBrgb(202, 58, 139)
HSLhsl(326, 58%, 51%)
HSVhsv(326, 71%, 79%)
CMYKcmyk(0%, 71.3%, 31.2%, 20.8%)
CIE-LABlab(48.82, 63.03, -12.61)
CIE-LCHlch(48.82, 64.27, 348.69°)
OKLaboklab(58.46% 0.1924 -0.0328)
OKLCHoklch(58.46% 0.195 350.3)
XYZxyz(30.5320, 17.4502, 26.1814)
Luminance0.1745 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA3A8B #3ACA79
analogous
#C13ACA #CA3A8B #CA3A43
triadic
#CA3A8B #8BCA3A #3A8BCA
tetradic
#CA3A8B #CAC13A #3ACA79 #3A43CA
square
#CA3A8B #CAC13A #3ACA79 #3A43CA
split-complementary
#CA3A8B #43CA3A #3ACAC1
monochromatic
#6C1D4A #9D2A6B #CA3A8B #D76AA7 #E49AC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA3A8B#FFFFFF#000000##FFFFFF
##CA3A8B1.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)
#51648D
Deuteranopia (green-blind)
#7A7D88
Tritanopia (blue-blind)
#D9315D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ca3a8b;
/* rgb */ color: rgb(202, 58, 139);
/* oklch */ color: oklch(58.5% 0.195 350.3);
Tailwind
colors: {
  custom: {
    50: '#df7cad',
    500: '#ca3a8b',
    950: '#000000',
  },
}
SCSS
$custom: #ca3a8b;
$custom-light: #df7cad;
$custom-dark: #000000;
JSON
{
  "hex": "#ca3a8b",
  "rgb": {
    "r": 202,
    "g": 58,
    "b": 139
  },
  "hsl": {
    "h": 326.25,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58459,
    "c": 0.19521,
    "h": 350.3
  },
  "luminance": 0.17447
}

Semantic roles & 50–950 ramp

primary
#CA3A8B
secondary
#90D0AC
accent
#E18A47
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CA3A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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