#CA2F7B#CA2F7B

#CA2F7B is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.9% C 0.200 H 356.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CA2F7B
RGBrgb(202, 47, 123)
HSLhsl(331, 62%, 49%)
HSVhsv(331, 77%, 79%)
CMYKcmyk(0%, 76.7%, 39.1%, 20.8%)
CIE-LABlab(47.01, 64.84, -5.63)
CIE-LCHlch(47.01, 65.09, 355.04°)
OKLaboklab(56.95% 0.1993 -0.014)
OKLCHoklch(56.95% 0.2 356)
XYZxyz(28.9508, 16.0233, 20.3033)
Luminance0.1602 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2F7B #2FCA7E
analogous
#CA2FC9 #CA2F7B #CA312F
triadic
#CA2F7B #7BCA2F #2F7BCA
tetradic
#CA2F7B #C9CA2F #2FCA7E #312FCA
square
#CA2F7B #C9CA2F #2FCA7E #312FCA
split-complementary
#CA2F7B #2FCA31 #2FC9CA
monochromatic
#67183F #98235D #CA2F7B #D95D9A #E58FB9

Accessibility & contrast

On white

5.00
#CA2F7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#CA2F7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2F7B
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2F7B#FFFFFF#000000##FFFFFF
##CA2F7B1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505D7D
Deuteranopia (green-blind)
#7A7A78
Tritanopia (blue-blind)
#DA1851
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ca2f7b;
/* rgb */ color: rgb(202, 47, 123);
/* oklch */ color: oklch(56.9% 0.200 356.0);
Tailwind
colors: {
  custom: {
    50: '#df77a1',
    500: '#ca2f7b',
    950: '#000000',
  },
}
SCSS
$custom: #ca2f7b;
$custom-light: #df77a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2f7b",
  "rgb": {
    "r": 202,
    "g": 47,
    "b": 123
  },
  "hsl": {
    "h": 330.581,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56948,
    "c": 0.1998,
    "h": 356
  },
  "luminance": 0.1602
}

Semantic roles & 50–950 ramp

primary
#CA2F7B
secondary
#86CFAB
accent
#E59542
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CA2F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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