#F254D2#F254D2

#F254D2 is a light, highly saturated pink. Relative luminance 0.299; OKLCH L 69.9% C 0.234 H 336.8°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#F254D2
RGBrgb(242, 84, 210)
HSLhsl(312, 86%, 64%)
HSVhsv(312, 65%, 95%)
CMYKcmyk(0%, 65.3%, 13.2%, 5.1%)
CIE-LABlab(61.55, 73.16, -33.85)
CIE-LCHlch(61.55, 80.62, 335.17°)
OKLaboklab(69.92% 0.2148 -0.0919)
OKLCHoklch(69.92% 0.234 336.8)
XYZxyz(51.4219, 29.8755, 64.0186)
Luminance0.2987 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F254D2 #54F274
analogous
#C354F2 #F254D2 #F25483
triadic
#F254D2 #D2F254 #54D2F2
tetradic
#F254D2 #F2C354 #54F274 #5483F2
square
#F254D2 #F2C354 #54F274 #5483F2
split-complementary
#F254D2 #83F254 #54F2C3
monochromatic
#BD0E9A #EE1BC3 #F254D2 #F68DE1 #FBC6F0

Accessibility & contrast

On white

3.01
#F254D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#F254D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F254D2
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F254D2#FFFFFF#000000##000000
##F254D21.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5885D6
Deuteranopia (green-blind)
#8A9DCE
Tritanopia (blue-blind)
#FE5C8C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #f254d2;
/* rgb */ color: rgb(242, 84, 210);
/* oklch */ color: oklch(69.9% 0.234 336.8);
Tailwind
colors: {
  custom: {
    50: '#fa8fe0',
    500: '#f254d2',
    950: '#000000',
  },
}
SCSS
$custom: #f254d2;
$custom-light: #fa8fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#f254d2",
  "rgb": {
    "r": 242,
    "g": 84,
    "b": 210
  },
  "hsl": {
    "h": 312.152,
    "s": 85.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69916,
    "c": 0.2336,
    "h": 336.8
  },
  "luminance": 0.29871
}

Semantic roles & 50–950 ramp

primary
#F254D2
secondary
#B5EDC0
accent
#E23003
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #F254D2

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

Preview Lab → · Contrast checker → · Palette generator →

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