#FF42DF#FF42DF

#FF42DF is a light, highly saturated pink. Relative luminance 0.305; OKLCH L 70.9% C 0.269 H 336.0°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#FF42DF
RGBrgb(255, 66, 223)
HSLhsl(310, 100%, 63%)
HSVhsv(310, 74%, 100%)
CMYKcmyk(0%, 74.1%, 12.5%, 0%)
CIE-LABlab(62.07, 83.90, -40.20)
CIE-LCHlch(62.07, 93.04, 334.40°)
OKLaboklab(70.88% 0.2461 -0.1097)
OKLCHoklch(70.88% 0.269 336)
XYZxyz(56.5084, 30.4893, 72.7067)
Luminance0.3048 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF42DF #42FF62
analogous
#C142FF #FF42DF #FF4280
triadic
#FF42DF #DFFF42 #42DFFF
tetradic
#FF42DF #FFC142 #42FF62 #4280FF
square
#FF42DF #FFC142 #42FF62 #4280FF
split-complementary
#FF42DF #80FF42 #42FFC1
monochromatic
#C700A5 #FF05D5 #FF42DF #FF7FE9 #FFBCF4

Accessibility & contrast

On white

2.96
#FF42DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#FF42DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF42DF
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF42DF#FFFFFF#000000##000000
##FF42DF1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4484E3
Deuteranopia (green-blind)
#88A0DB
Tritanopia (blue-blind)
#FF508D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ff42df;
/* rgb */ color: rgb(255, 66, 223);
/* oklch */ color: oklch(70.9% 0.269 336.0);
Tailwind
colors: {
  custom: {
    50: '#ff88e9',
    500: '#ff42df',
    950: '#000000',
  },
}
SCSS
$custom: #ff42df;
$custom-light: #ff88e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ff42df",
  "rgb": {
    "r": 255,
    "g": 66,
    "b": 223
  },
  "hsl": {
    "h": 310.159,
    "s": 100,
    "l": 62.941
  },
  "oklch": {
    "l": 0.70878,
    "c": 0.26943,
    "h": 336
  },
  "luminance": 0.30484
}

Semantic roles & 50–950 ramp

primary
#FF42DF
secondary
#ACF0B8
accent
#E62700
background
#FFF9FE
surface
#FFF1FD
border
#D7CBD5
text
#190D16
muted
#877E84

Preview Lab

Preview with #FF42DF

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

Preview Lab → · Contrast checker → · Palette generator →

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