#FF52CB#FF52CB

#FF52CB is a light, highly saturated pink. Relative luminance 0.316; OKLCH L 71.3% C 0.240 H 342.1°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#FF52CB
RGBrgb(255, 82, 203)
HSLhsl(318, 100%, 66%)
HSVhsv(318, 68%, 100%)
CMYKcmyk(0%, 67.8%, 20.4%, 0%)
CIE-LABlab(63.02, 76.15, -27.44)
CIE-LCHlch(63.02, 80.94, 340.18°)
OKLaboklab(71.29% 0.2282 -0.0736)
OKLCHoklch(71.29% 0.24 342.1)
XYZxyz(55.0385, 31.6118, 59.6914)
Luminance0.3161 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF52CB #52FF86
analogous
#DD52FF #FF52CB #FF5274
triadic
#FF52CB #CBFF52 #52CBFF
tetradic
#FF52CB #FFDD52 #52FF86 #5274FF
square
#FF52CB #FFDD52 #52FF86 #5274FF
split-complementary
#FF52CB #74FF52 #52FFDD
monochromatic
#D70096 #FF15B9 #FF52CB #FF8FDD #FFCCF0

Accessibility & contrast

On white

2.87
#FF52CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#FF52CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF52CB
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF52CB#FFFFFF#000000##000000
##FF52CB1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6186CE
Deuteranopia (green-blind)
#96A3C7
Tritanopia (blue-blind)
#FF5488
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ff52cb;
/* rgb */ color: rgb(255, 82, 203);
/* oklch */ color: oklch(71.3% 0.240 342.1);
Tailwind
colors: {
  custom: {
    50: '#ff8fdb',
    500: '#ff52cb',
    950: '#000000',
  },
}
SCSS
$custom: #ff52cb;
$custom-light: #ff8fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ff52cb",
  "rgb": {
    "r": 255,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 318.035,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.71285,
    "c": 0.23975,
    "h": 342.1
  },
  "luminance": 0.31606
}

Semantic roles & 50–950 ramp

primary
#FF52CB
secondary
#BAF3CB
accent
#E64500
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#190D15
muted
#877E83

Preview Lab

Preview with #FF52CB

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

Preview Lab → · Contrast checker → · Palette generator →

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