#F254CC#F254CC

#F254CC is a light, highly saturated pink. Relative luminance 0.296; OKLCH L 69.6% C 0.230 H 338.7°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#F254CC
RGBrgb(242, 84, 204)
HSLhsl(314, 86%, 64%)
HSVhsv(314, 65%, 95%)
CMYKcmyk(0%, 65.3%, 15.7%, 5.1%)
CIE-LABlab(61.29, 72.32, -30.85)
CIE-LCHlch(61.29, 78.62, 336.90°)
OKLaboklab(69.65% 0.2139 -0.0834)
OKLCHoklch(69.65% 0.23 338.7)
XYZxyz(50.6884, 29.5821, 60.1554)
Luminance0.2958 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F254CC #54F27A
analogous
#C954F2 #F254CC #F2547D
triadic
#F254CC #CCF254 #54CCF2
tetradic
#F254CC #F2C954 #54F27A #547DF2
square
#F254CC #F2C954 #54F27A #547DF2
split-complementary
#F254CC #7DF254 #54F2C9
monochromatic
#BD0E93 #EE1BBB #F254CC #F68DDD #FBC6EE

Accessibility & contrast

On white

3.04
#F254CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#F254CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F254CC
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F254CC#FFFFFF#000000##000000
##F254CC1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B84D0
Deuteranopia (green-blind)
#8D9DC8
Tritanopia (blue-blind)
#FF5A89
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #f254cc;
/* rgb */ color: rgb(242, 84, 204);
/* oklch */ color: oklch(69.6% 0.230 338.7);
Tailwind
colors: {
  custom: {
    50: '#fa8fdc',
    500: '#f254cc',
    950: '#000000',
  },
}
SCSS
$custom: #f254cc;
$custom-light: #fa8fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#f254cc",
  "rgb": {
    "r": 242,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 314.43,
    "s": 85.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69647,
    "c": 0.22957,
    "h": 338.7
  },
  "luminance": 0.29578
}

Semantic roles & 50–950 ramp

primary
#F254CC
secondary
#B5EDC3
accent
#E23903
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #F254CC

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

Preview Lab → · Contrast checker → · Palette generator →

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