#CF50AB#CF50AB

#CF50AB is a light, vivid pink. Relative luminance 0.219; OKLCH L 62.8% C 0.189 H 340.4°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#CF50AB
RGBrgb(207, 80, 171)
HSLhsl(317, 57%, 56%)
HSVhsv(317, 61%, 81%)
CMYKcmyk(0%, 61.4%, 17.4%, 18.8%)
CIE-LABlab(53.97, 60.01, -23.62)
CIE-LCHlch(53.97, 64.49, 338.51°)
OKLaboklab(62.79% 0.1781 -0.0635)
OKLCHoklch(62.79% 0.189 340.4)
XYZxyz(35.9523, 21.9461, 40.8627)
Luminance0.2194 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF50AB #50CF74
analogous
#B450CF #CF50AB #CF506C
triadic
#CF50AB #ABCF50 #50ABCF
tetradic
#CF50AB #CFB450 #50CF74 #506CCF
square
#CF50AB #CFB450 #50CF74 #506CCF
split-complementary
#CF50AB #6CCF50 #50CFB4
monochromatic
#812367 #B1318D #CF50AB #DC80C2 #E9B0D9

Accessibility & contrast

On white

3.90
#CF50AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#CF50AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF50AB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF50AB#FFFFFF#000000##000000
##CF50AB1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5774AE
Deuteranopia (green-blind)
#7D88A8
Tritanopia (blue-blind)
#DA5376
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cf50ab;
/* rgb */ color: rgb(207, 80, 171);
/* oklch */ color: oklch(62.8% 0.189 340.4);
Tailwind
colors: {
  custom: {
    50: '#e188c4',
    500: '#cf50ab',
    950: '#000000',
  },
}
SCSS
$custom: #cf50ab;
$custom-light: #e188c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf50ab",
  "rgb": {
    "r": 207,
    "g": 80,
    "b": 171
  },
  "hsl": {
    "h": 317.008,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62794,
    "c": 0.1891,
    "h": 340.4
  },
  "luminance": 0.21943
}

Semantic roles & 50–950 ramp

primary
#CF50AB
secondary
#A3D8B2
accent
#E07348
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF50AB

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

Preview Lab → · Contrast checker → · Palette generator →

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