#FF42DE#FF42DE

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

Color values

HEX#FF42DE
RGBrgb(255, 66, 222)
HSLhsl(310, 100%, 63%)
HSVhsv(310, 74%, 100%)
CMYKcmyk(0%, 74.1%, 12.9%, 0%)
CIE-LABlab(62.03, 83.77, -39.71)
CIE-LCHlch(62.03, 92.70, 334.64°)
OKLaboklab(70.83% 0.246 -0.1083)
OKLCHoklch(70.83% 0.269 336.2)
XYZxyz(56.3740, 30.4356, 71.9987)
Luminance0.3043 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF42DE #42FF63
analogous
#C142FF #FF42DE #FF427F
triadic
#FF42DE #DEFF42 #42DEFF
tetradic
#FF42DE #FFC142 #42FF63 #427FFF
square
#FF42DE #FFC142 #42FF63 #427FFF
split-complementary
#FF42DE #7FFF42 #42FFC1
monochromatic
#C700A4 #FF05D3 #FF42DE #FF7FE9 #FFBCF3

Accessibility & contrast

On white

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

On black

7.09
#FF42DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF42DE
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF42DE#FFFFFF#000000##000000
##FF42DE1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4584E2
Deuteranopia (green-blind)
#88A0DA
Tritanopia (blue-blind)
#FF508D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ff42de;
/* rgb */ color: rgb(255, 66, 222);
/* oklch */ color: oklch(70.8% 0.269 336.2);
Tailwind
colors: {
  custom: {
    50: '#ff88e8',
    500: '#ff42de',
    950: '#000000',
  },
}
SCSS
$custom: #ff42de;
$custom-light: #ff88e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ff42de",
  "rgb": {
    "r": 255,
    "g": 66,
    "b": 222
  },
  "hsl": {
    "h": 310.476,
    "s": 100,
    "l": 62.941
  },
  "oklch": {
    "l": 0.7083,
    "c": 0.26879,
    "h": 336.2
  },
  "luminance": 0.3043
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF42DE

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

Preview Lab → · Contrast checker → · Palette generator →

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