#CA2F7D#CA2F7D

#CA2F7D is a mid, highly saturated pink. Relative luminance 0.161; OKLCH L 57.0% C 0.201 H 355.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CA2F7D
RGBrgb(202, 47, 125)
HSLhsl(330, 62%, 49%)
HSVhsv(330, 77%, 79%)
CMYKcmyk(0%, 76.7%, 38.1%, 20.8%)
CIE-LABlab(47.07, 65.05, -6.75)
CIE-LCHlch(47.07, 65.40, 354.07°)
OKLaboklab(57.02% 0.1999 -0.017)
OKLCHoklch(57.02% 0.201 355.1)
XYZxyz(29.0773, 16.0739, 20.9694)
Luminance0.1607 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2F7D #2FCA7C
analogous
#CA2FCA #CA2F7D #CA2F30
triadic
#CA2F7D #7DCA2F #2F7DCA
tetradic
#CA2F7D #CACA2F #2FCA7C #2F30CA
square
#CA2F7D #CACA2F #2FCA7C #2F30CA
split-complementary
#CA2F7D #30CA2F #2FCACA
monochromatic
#671840 #98235E #CA2F7D #D95D9C #E58FBA

Accessibility & contrast

On white

4.98
#CA2F7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#CA2F7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2F7D
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2F7D#FFFFFF#000000##FFFFFF
##CA2F7D1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5D7F
Deuteranopia (green-blind)
#7A7A7A
Tritanopia (blue-blind)
#DA1A52
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ca2f7d;
/* rgb */ color: rgb(202, 47, 125);
/* oklch */ color: oklch(57.0% 0.201 355.1);
Tailwind
colors: {
  custom: {
    50: '#df77a2',
    500: '#ca2f7d',
    950: '#000000',
  },
}
SCSS
$custom: #ca2f7d;
$custom-light: #df77a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2f7d",
  "rgb": {
    "r": 202,
    "g": 47,
    "b": 125
  },
  "hsl": {
    "h": 329.806,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57018,
    "c": 0.20061,
    "h": 355.1
  },
  "luminance": 0.1607
}

Semantic roles & 50–950 ramp

primary
#CA2F7D
secondary
#86CFAA
accent
#E59342
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #CA2F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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