#CA4F98#CA4F98

#CA4F98 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.2% C 0.175 H 346.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CA4F98
RGBrgb(202, 79, 152)
HSLhsl(324, 54%, 55%)
HSVhsv(324, 61%, 79%)
CMYKcmyk(0%, 60.9%, 24.8%, 20.8%)
CIE-LABlab(52.31, 56.36, -15.08)
CIE-LCHlch(52.31, 58.34, 345.02°)
OKLaboklab(61.18% 0.17 -0.0398)
OKLCHoklch(61.18% 0.175 346.8)
XYZxyz(32.8218, 20.4187, 31.9123)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4F98 #4FCA81
analogous
#BE4FCA #CA4F98 #CA4F5B
triadic
#CA4F98 #98CA4F #4F98CA
tetradic
#CA4F98 #CABE4F #4FCA81 #4F5BCA
square
#CA4F98 #CABE4F #4FCA81 #4F5BCA
split-complementary
#CA4F98 #5BCA4F #4FCABE
monochromatic
#7A2557 #A93379 #CA4F98 #D87EB4 #E6ADCF

Accessibility & contrast

On white

4.13
#CA4F98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CA4F98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4F98
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4F98#FFFFFF#000000##000000
##CA4F981.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6F9A
Deuteranopia (green-blind)
#7F8595
Tritanopia (blue-blind)
#D74C6D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ca4f98;
/* rgb */ color: rgb(202, 79, 152);
/* oklch */ color: oklch(61.2% 0.175 346.8);
Tailwind
colors: {
  custom: {
    50: '#dd87b6',
    500: '#ca4f98',
    950: '#000000',
  },
}
SCSS
$custom: #ca4f98;
$custom-light: #dd87b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4f98",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 152
  },
  "hsl": {
    "h": 324.39,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61178,
    "c": 0.17463,
    "h": 346.8
  },
  "luminance": 0.20416
}

Semantic roles & 50–950 ramp

primary
#CA4F98
secondary
#A1D4B6
accent
#DD864B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CA4F98

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

Preview Lab → · Contrast checker → · Palette generator →

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