#F254CF#F254CF

#F254CF is a light, highly saturated pink. Relative luminance 0.297; OKLCH L 69.8% C 0.232 H 337.8°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#F254CF
RGBrgb(242, 84, 207)
HSLhsl(313, 86%, 64%)
HSVhsv(313, 65%, 95%)
CMYKcmyk(0%, 65.3%, 14.5%, 5.1%)
CIE-LABlab(61.42, 72.74, -32.35)
CIE-LCHlch(61.42, 79.61, 336.02°)
OKLaboklab(69.78% 0.2143 -0.0876)
OKLCHoklch(69.78% 0.232 337.8)
XYZxyz(51.0517, 29.7274, 62.0686)
Luminance0.2972 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F254CF #54F277
analogous
#C654F2 #F254CF #F25480
triadic
#F254CF #CFF254 #54CFF2
tetradic
#F254CF #F2C654 #54F277 #5480F2
square
#F254CF #F2C654 #54F277 #5480F2
split-complementary
#F254CF #80F254 #54F2C6
monochromatic
#BD0E96 #EE1BBF #F254CF #F68DDF #FBC6EF

Accessibility & contrast

On white

3.02
#F254CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#F254CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F254CF
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F254CF#FFFFFF#000000##000000
##F254CF1.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5985D3
Deuteranopia (green-blind)
#8B9DCB
Tritanopia (blue-blind)
#FF5B8A
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #f254cf;
/* rgb */ color: rgb(242, 84, 207);
/* oklch */ color: oklch(69.8% 0.232 337.8);
Tailwind
colors: {
  custom: {
    50: '#fa8fde',
    500: '#f254cf',
    950: '#000000',
  },
}
SCSS
$custom: #f254cf;
$custom-light: #fa8fde;
$custom-dark: #000000;
JSON
{
  "hex": "#f254cf",
  "rgb": {
    "r": 242,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 313.291,
    "s": 85.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69781,
    "c": 0.23157,
    "h": 337.8
  },
  "luminance": 0.29723
}

Semantic roles & 50–950 ramp

primary
#F254CF
secondary
#B5EDC1
accent
#E23503
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #F254CF

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

Preview Lab → · Contrast checker → · Palette generator →

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