#F57CEC#F57CEC

#F57CEC is a light, vivid purple. Relative luminance 0.399; OKLCH L 76.1% C 0.198 H 330.2°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#F57CEC
RGBrgb(245, 124, 236)
HSLhsl(304, 86%, 72%)
HSVhsv(304, 49%, 96%)
CMYKcmyk(0%, 49.4%, 3.7%, 3.9%)
CIE-LABlab(69.39, 60.87, -36.12)
CIE-LCHlch(69.39, 70.78, 329.32°)
OKLaboklab(76.12% 0.172 -0.0986)
OKLCHoklch(76.12% 0.198 330.2)
XYZxyz(60.0036, 39.8875, 83.8792)
Luminance0.3988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F57CEC #7CF585
analogous
#C27CF5 #F57CEC #F57CAF
triadic
#F57CEC #ECF57C #7CECF5
tetradic
#F57CEC #F5C27C #7CF585 #7CAFF5
square
#F57CEC #F5C27C #7CF585 #7CAFF5
split-complementary
#F57CEC #AFF57C #7CF5C2
monochromatic
#E511D5 #F143E4 #F57CEC #F9B5F4 #FDE3FB

Accessibility & contrast

On white

2.34
#F57CEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#F57CEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F57CEC
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F57CEC#FFFFFF#000000##000000
##F57CEC1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#759FF0
Deuteranopia (green-blind)
#99AFE8
Tritanopia (blue-blind)
#FD86A9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f57cec;
/* rgb */ color: rgb(245, 124, 236);
/* oklch */ color: oklch(76.1% 0.198 330.2);
Tailwind
colors: {
  custom: {
    50: '#fba6f2',
    500: '#f57cec',
    950: '#000000',
  },
}
SCSS
$custom: #f57cec;
$custom-light: #fba6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f57cec",
  "rgb": {
    "r": 245,
    "g": 124,
    "b": 236
  },
  "hsl": {
    "h": 304.463,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7612,
    "c": 0.19826,
    "h": 330.2
  },
  "luminance": 0.39884
}

Semantic roles & 50–950 ramp

primary
#F57CEC
secondary
#D6F5D8
accent
#E21403
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #F57CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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