#F254CD#F254CD

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

Color values

HEX#F254CD
RGBrgb(242, 84, 205)
HSLhsl(314, 86%, 64%)
HSVhsv(314, 65%, 95%)
CMYKcmyk(0%, 65.3%, 15.3%, 5.1%)
CIE-LABlab(61.33, 72.46, -31.35)
CIE-LCHlch(61.33, 78.95, 336.60°)
OKLaboklab(69.69% 0.214 -0.0848)
OKLCHoklch(69.69% 0.23 338.4)
XYZxyz(50.8087, 29.6302, 60.7890)
Luminance0.2963 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F254CD #54F279
analogous
#C854F2 #F254CD #F2547E
triadic
#F254CD #CDF254 #54CDF2
tetradic
#F254CD #F2C854 #54F279 #547EF2
square
#F254CD #F2C854 #54F279 #547EF2
split-complementary
#F254CD #7EF254 #54F2C8
monochromatic
#BD0E94 #EE1BBC #F254CD #F68DDE #FBC6EE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F254CD#FFFFFF#000000##000000
##F254CD1.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)
#5B84D1
Deuteranopia (green-blind)
#8C9DC9
Tritanopia (blue-blind)
#FF5A89
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #f254cd;
/* rgb */ color: rgb(242, 84, 205);
/* oklch */ color: oklch(69.7% 0.230 338.4);
Tailwind
colors: {
  custom: {
    50: '#fa8fdc',
    500: '#f254cd',
    950: '#000000',
  },
}
SCSS
$custom: #f254cd;
$custom-light: #fa8fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#f254cd",
  "rgb": {
    "r": 242,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 314.051,
    "s": 85.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69692,
    "c": 0.23023,
    "h": 338.4
  },
  "luminance": 0.29626
}

Semantic roles & 50–950 ramp

primary
#F254CD
secondary
#B5EDC2
accent
#E23703
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #F254CD

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

Preview Lab → · Contrast checker → · Palette generator →

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