#F254CB#F254CB

#F254CB is a light, highly saturated pink. Relative luminance 0.295; OKLCH L 69.6% C 0.229 H 339.0°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#F254CB
RGBrgb(242, 84, 203)
HSLhsl(315, 86%, 64%)
HSVhsv(315, 65%, 95%)
CMYKcmyk(0%, 65.3%, 16.1%, 5.1%)
CIE-LABlab(61.25, 72.18, -30.35)
CIE-LCHlch(61.25, 78.30, 337.20°)
OKLaboklab(69.6% 0.2137 -0.082)
OKLCHoklch(69.6% 0.229 339)
XYZxyz(50.5688, 29.5342, 59.5257)
Luminance0.2953 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F254CB #54F27B
analogous
#CA54F2 #F254CB #F2547C
triadic
#F254CB #CBF254 #54CBF2
tetradic
#F254CB #F2CA54 #54F27B #547CF2
square
#F254CB #F2CA54 #54F27B #547CF2
split-complementary
#F254CB #7CF254 #54F2CA
monochromatic
#BD0E92 #EE1BBA #F254CB #F68DDC #FBC6EE

Accessibility & contrast

On white

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

On black

6.91
#F254CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F254CB
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F254CB#FFFFFF#000000##000000
##F254CB1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C84CE
Deuteranopia (green-blind)
#8D9DC7
Tritanopia (blue-blind)
#FF5988
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #f254cb;
/* rgb */ color: rgb(242, 84, 203);
/* oklch */ color: oklch(69.6% 0.229 339.0);
Tailwind
colors: {
  custom: {
    50: '#fa8fdb',
    500: '#f254cb',
    950: '#000000',
  },
}
SCSS
$custom: #f254cb;
$custom-light: #fa8fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#f254cb",
  "rgb": {
    "r": 242,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 314.81,
    "s": 85.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69603,
    "c": 0.22891,
    "h": 339
  },
  "luminance": 0.2953
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F254CB

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

Preview Lab → · Contrast checker → · Palette generator →

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