#CA398E#CA398E

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

Color values

HEX#CA398E
RGBrgb(202, 57, 142)
HSLhsl(325, 58%, 51%)
HSVhsv(325, 72%, 79%)
CMYKcmyk(0%, 71.8%, 29.7%, 20.8%)
CIE-LABlab(48.81, 63.73, -14.43)
CIE-LCHlch(48.81, 65.34, 347.24°)
OKLaboklab(58.49% 0.1943 -0.0378)
OKLCHoklch(58.49% 0.198 349)
XYZxyz(30.7043, 17.4392, 27.3351)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA398E #39CA75
analogous
#BE39CA #CA398E #CA3945
triadic
#CA398E #8ECA39 #398ECA
tetradic
#CA398E #CABE39 #39CA75 #3945CA
square
#CA398E #CABE39 #39CA75 #3945CA
split-complementary
#CA398E #45CA39 #39CABE
monochromatic
#6C1D4B #9C2A6D #CA398E #D769AA #E49AC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA398E#FFFFFF#000000##FFFFFF
##CA398E1.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)
#4F6490
Deuteranopia (green-blind)
#797D8B
Tritanopia (blue-blind)
#D8325F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ca398e;
/* rgb */ color: rgb(202, 57, 142);
/* oklch */ color: oklch(58.5% 0.198 349.0);
Tailwind
colors: {
  custom: {
    50: '#df7caf',
    500: '#ca398e',
    950: '#000000',
  },
}
SCSS
$custom: #ca398e;
$custom-light: #df7caf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca398e",
  "rgb": {
    "r": 202,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 324.828,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58485,
    "c": 0.19791,
    "h": 349
  },
  "luminance": 0.17436
}

Semantic roles & 50–950 ramp

primary
#CA398E
secondary
#8FD0AA
accent
#E18747
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CA398E

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

Preview Lab → · Contrast checker → · Palette generator →

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