#CF50A2#CF50A2

#CF50A2 is a light, vivid pink. Relative luminance 0.216; OKLCH L 62.4% C 0.183 H 344.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#CF50A2
RGBrgb(207, 80, 162)
HSLhsl(321, 57%, 56%)
HSVhsv(321, 61%, 81%)
CMYKcmyk(0%, 61.4%, 21.7%, 18.8%)
CIE-LABlab(53.62, 58.74, -18.90)
CIE-LCHlch(53.62, 61.70, 342.16°)
OKLaboklab(62.42% 0.1762 -0.0503)
OKLCHoklch(62.42% 0.183 344.1)
XYZxyz(35.1234, 21.6146, 36.4976)
Luminance0.2161 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF50A2 #50CF7D
analogous
#BD50CF #CF50A2 #CF5063
triadic
#CF50A2 #A2CF50 #50A2CF
tetradic
#CF50A2 #CFBD50 #50CF7D #5063CF
square
#CF50A2 #CFBD50 #50CF7D #5063CF
split-complementary
#CF50A2 #63CF50 #50CFBD
monochromatic
#812360 #B13184 #CF50A2 #DC80BC #E9B0D5

Accessibility & contrast

On white

3.95
#CF50A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#CF50A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF50A2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF50A2#FFFFFF#000000##000000
##CF50A21.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B73A5
Deuteranopia (green-blind)
#80889F
Tritanopia (blue-blind)
#DC4F72
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cf50a2;
/* rgb */ color: rgb(207, 80, 162);
/* oklch */ color: oklch(62.4% 0.183 344.1);
Tailwind
colors: {
  custom: {
    50: '#e188bd',
    500: '#cf50a2',
    950: '#000000',
  },
}
SCSS
$custom: #cf50a2;
$custom-light: #e188bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf50a2",
  "rgb": {
    "r": 207,
    "g": 80,
    "b": 162
  },
  "hsl": {
    "h": 321.26,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62417,
    "c": 0.18323,
    "h": 344.1
  },
  "luminance": 0.21611
}

Semantic roles & 50–950 ramp

primary
#CF50A2
secondary
#A3D8B6
accent
#E07E48
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF50A2

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

Preview Lab → · Contrast checker → · Palette generator →

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