#FF42D2#FF42D2

#FF42D2 is a light, highly saturated pink. Relative luminance 0.298; OKLCH L 70.3% C 0.261 H 339.5°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#FF42D2
RGBrgb(255, 66, 210)
HSLhsl(314, 100%, 63%)
HSVhsv(314, 74%, 100%)
CMYKcmyk(0%, 74.1%, 17.6%, 0%)
CIE-LABlab(61.49, 82.18, -33.77)
CIE-LCHlch(61.49, 88.85, 337.66°)
OKLaboklab(70.27% 0.2448 -0.0913)
OKLCHoklch(70.27% 0.261 339.5)
XYZxyz(54.8226, 29.8150, 63.8279)
Luminance0.2981 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF42D2 #42FF6F
analogous
#CE42FF #FF42D2 #FF4273
triadic
#FF42D2 #D2FF42 #42D2FF
tetradic
#FF42D2 #FFCE42 #42FF6F #4273FF
square
#FF42D2 #FFCE42 #42FF6F #4273FF
split-complementary
#FF42D2 #73FF42 #42FFCE
monochromatic
#C70097 #FF05C3 #FF42D2 #FF7FE1 #FFBCEF

Accessibility & contrast

On white

3.02
#FF42D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#FF42D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF42D2
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF42D2#FFFFFF#000000##000000
##FF42D21.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F81D6
Deuteranopia (green-blind)
#8D9FCE
Tritanopia (blue-blind)
#FF4986
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ff42d2;
/* rgb */ color: rgb(255, 66, 210);
/* oklch */ color: oklch(70.3% 0.261 339.5);
Tailwind
colors: {
  custom: {
    50: '#ff88e0',
    500: '#ff42d2',
    950: '#000000',
  },
}
SCSS
$custom: #ff42d2;
$custom-light: #ff88e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ff42d2",
  "rgb": {
    "r": 255,
    "g": 66,
    "b": 210
  },
  "hsl": {
    "h": 314.286,
    "s": 100,
    "l": 62.941
  },
  "oklch": {
    "l": 0.70272,
    "c": 0.26128,
    "h": 339.5
  },
  "luminance": 0.2981
}

Semantic roles & 50–950 ramp

primary
#FF42D2
secondary
#ACF0BD
accent
#E63700
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#190D15
muted
#877E83

Preview Lab

Preview with #FF42D2

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

Preview Lab → · Contrast checker → · Palette generator →

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