#FF42DB#FF42DB

#FF42DB is a light, highly saturated pink. Relative luminance 0.303; OKLCH L 70.7% C 0.267 H 337.1°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#FF42DB
RGBrgb(255, 66, 219)
HSLhsl(311, 100%, 63%)
HSVhsv(311, 74%, 100%)
CMYKcmyk(0%, 74.1%, 14.1%, 0%)
CIE-LABlab(61.89, 83.36, -38.24)
CIE-LCHlch(61.89, 91.72, 335.36°)
OKLaboklab(70.69% 0.2458 -0.1041)
OKLCHoklch(70.69% 0.267 337.1)
XYZxyz(55.9755, 30.2762, 69.9000)
Luminance0.3027 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF42DB #42FF66
analogous
#C542FF #FF42DB #FF427C
triadic
#FF42DB #DBFF42 #42DBFF
tetradic
#FF42DB #FFC542 #42FF66 #427CFF
square
#FF42DB #FFC542 #42FF66 #427CFF
split-complementary
#FF42DB #7CFF42 #42FFC5
monochromatic
#C700A1 #FF05CF #FF42DB #FF7FE7 #FFBCF2

Accessibility & contrast

On white

2.98
#FF42DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#FF42DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF42DB
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF42DB#FFFFFF#000000##000000
##FF42DB1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4883DF
Deuteranopia (green-blind)
#8AA0D7
Tritanopia (blue-blind)
#FF4E8B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ff42db;
/* rgb */ color: rgb(255, 66, 219);
/* oklch */ color: oklch(70.7% 0.267 337.1);
Tailwind
colors: {
  custom: {
    50: '#ff88e6',
    500: '#ff42db',
    950: '#000000',
  },
}
SCSS
$custom: #ff42db;
$custom-light: #ff88e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ff42db",
  "rgb": {
    "r": 255,
    "g": 66,
    "b": 219
  },
  "hsl": {
    "h": 311.429,
    "s": 100,
    "l": 62.941
  },
  "oklch": {
    "l": 0.70688,
    "c": 0.26687,
    "h": 337.1
  },
  "luminance": 0.30271
}

Semantic roles & 50–950 ramp

primary
#FF42DB
secondary
#ACF0B9
accent
#E62C00
background
#FFF9FE
surface
#FFF1FC
border
#D7CBD5
text
#190D16
muted
#877E84

Preview Lab

Preview with #FF42DB

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

Preview Lab → · Contrast checker → · Palette generator →

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