#FF42DD#FF42DD

#FF42DD is a light, highly saturated pink. Relative luminance 0.304; OKLCH L 70.8% C 0.268 H 336.5°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#FF42DD
RGBrgb(255, 66, 221)
HSLhsl(311, 100%, 63%)
HSVhsv(311, 74%, 100%)
CMYKcmyk(0%, 74.1%, 13.3%, 0%)
CIE-LABlab(61.98, 83.63, -39.22)
CIE-LCHlch(61.98, 92.37, 334.88°)
OKLaboklab(70.78% 0.2459 -0.1069)
OKLCHoklch(70.78% 0.268 336.5)
XYZxyz(56.2404, 30.3821, 71.2950)
Luminance0.3038 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF42DD #42FF64
analogous
#C342FF #FF42DD #FF427E
triadic
#FF42DD #DDFF42 #42DDFF
tetradic
#FF42DD #FFC342 #42FF64 #427EFF
square
#FF42DD #FFC342 #42FF64 #427EFF
split-complementary
#FF42DD #7EFF42 #42FFC3
monochromatic
#C700A3 #FF05D2 #FF42DD #FF7FE8 #FFBCF3

Accessibility & contrast

On white

2.97
#FF42DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#FF42DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF42DD
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF42DD#FFFFFF#000000##000000
##FF42DD1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4684E1
Deuteranopia (green-blind)
#89A0D9
Tritanopia (blue-blind)
#FF4F8C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ff42dd;
/* rgb */ color: rgb(255, 66, 221);
/* oklch */ color: oklch(70.8% 0.268 336.5);
Tailwind
colors: {
  custom: {
    50: '#ff88e8',
    500: '#ff42dd',
    950: '#000000',
  },
}
SCSS
$custom: #ff42dd;
$custom-light: #ff88e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ff42dd",
  "rgb": {
    "r": 255,
    "g": 66,
    "b": 221
  },
  "hsl": {
    "h": 310.794,
    "s": 100,
    "l": 62.941
  },
  "oklch": {
    "l": 0.70783,
    "c": 0.26815,
    "h": 336.5
  },
  "luminance": 0.30377
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF42DD

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

Preview Lab → · Contrast checker → · Palette generator →

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