#CA2F7E#CA2F7E

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

Color values

HEX#CA2F7E
RGBrgb(202, 47, 126)
HSLhsl(329, 62%, 49%)
HSVhsv(329, 77%, 79%)
CMYKcmyk(0%, 76.7%, 37.6%, 20.8%)
CIE-LABlab(47.10, 65.15, -7.31)
CIE-LCHlch(47.10, 65.56, 353.60°)
OKLaboklab(57.05% 0.2002 -0.0185)
OKLCHoklch(57.05% 0.201 354.7)
XYZxyz(29.1415, 16.0996, 21.3076)
Luminance0.1610 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2F7E #2FCA7B
analogous
#C92FCA #CA2F7E #CA2F31
triadic
#CA2F7E #7ECA2F #2F7ECA
tetradic
#CA2F7E #CAC92F #2FCA7B #2F31CA
square
#CA2F7E #CAC92F #2FCA7B #2F31CA
split-complementary
#CA2F7E #31CA2F #2FCAC9
monochromatic
#671840 #98235F #CA2F7E #D95D9C #E58FBB

Accessibility & contrast

On white

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

On black

4.22
#CA2F7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CA2F7E#FFFFFF#000000##FFFFFF
##CA2F7E1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5D80
Deuteranopia (green-blind)
#7A7A7B
Tritanopia (blue-blind)
#DA1B53
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ca2f7e;
/* rgb */ color: rgb(202, 47, 126);
/* oklch */ color: oklch(57.1% 0.201 354.7);
Tailwind
colors: {
  custom: {
    50: '#df77a3',
    500: '#ca2f7e',
    950: '#000000',
  },
}
SCSS
$custom: #ca2f7e;
$custom-light: #df77a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2f7e",
  "rgb": {
    "r": 202,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 329.419,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57054,
    "c": 0.20102,
    "h": 354.7
  },
  "luminance": 0.16096
}

Semantic roles & 50–950 ramp

primary
#CA2F7E
secondary
#86CFAA
accent
#E59242
background
#FEF7FA
surface
#FDEEF3
border
#D5C9CD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CA2F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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