#FF42CF#FF42CF

#FF42CF is a light, highly saturated pink. Relative luminance 0.297; OKLCH L 70.1% C 0.259 H 340.4°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#FF42CF
RGBrgb(255, 66, 207)
HSLhsl(315, 100%, 63%)
HSVhsv(315, 74%, 100%)
CMYKcmyk(0%, 74.1%, 18.8%, 0%)
CIE-LABlab(61.37, 81.80, -32.27)
CIE-LCHlch(61.37, 87.93, 338.47°)
OKLaboklab(70.14% 0.2444 -0.0871)
OKLCHoklch(70.14% 0.259 340.4)
XYZxyz(54.4523, 29.6669, 61.8780)
Luminance0.2966 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF42CF #42FF72
analogous
#D042FF #FF42CF #FF4270
triadic
#FF42CF #CFFF42 #42CFFF
tetradic
#FF42CF #FFD042 #42FF72 #4270FF
square
#FF42CF #FFD042 #42FF72 #4270FF
split-complementary
#FF42CF #70FF42 #42FFD0
monochromatic
#C70094 #FF05BF #FF42CF #FF7FDF #FFBCEE

Accessibility & contrast

On white

3.03
#FF42CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#FF42CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF42CF
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF42CF#FFFFFF#000000##000000
##FF42CF1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5181D3
Deuteranopia (green-blind)
#8E9FCB
Tritanopia (blue-blind)
#FF4884
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ff42cf;
/* rgb */ color: rgb(255, 66, 207);
/* oklch */ color: oklch(70.1% 0.259 340.4);
Tailwind
colors: {
  custom: {
    50: '#ff88de',
    500: '#ff42cf',
    950: '#000000',
  },
}
SCSS
$custom: #ff42cf;
$custom-light: #ff88de;
$custom-dark: #000000;
JSON
{
  "hex": "#ff42cf",
  "rgb": {
    "r": 255,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 315.238,
    "s": 100,
    "l": 62.941
  },
  "oklch": {
    "l": 0.70137,
    "c": 0.25947,
    "h": 340.4
  },
  "luminance": 0.29661
}

Semantic roles & 50–950 ramp

primary
#FF42CF
secondary
#ACF0BE
accent
#E63A00
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#190D15
muted
#877E83

Preview Lab

Preview with #FF42CF

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

Preview Lab → · Contrast checker → · Palette generator →

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