#F57AF2#F57AF2

#F57AF2 is a light, highly saturated purple. Relative luminance 0.397; OKLCH L 76.1% C 0.206 H 328.3°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#F57AF2
RGBrgb(245, 122, 242)
HSLhsl(301, 86%, 72%)
HSVhsv(301, 50%, 96%)
CMYKcmyk(0%, 50.2%, 1.2%, 3.9%)
CIE-LABlab(69.29, 62.82, -39.58)
CIE-LCHlch(69.29, 74.25, 327.79°)
OKLaboklab(76.13% 0.1756 -0.1085)
OKLCHoklch(76.13% 0.206 328.3)
XYZxyz(60.6419, 39.7459, 88.4648)
Luminance0.3974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F57AF2 #7AF57D
analogous
#BA7AF5 #F57AF2 #F57AB5
triadic
#F57AF2 #F2F57A #7AF2F5
tetradic
#F57AF2 #F5BA7A #7AF57D #7AB5F5
square
#F57AF2 #F5BA7A #7AF57D #7AB5F5
split-complementary
#F57AF2 #B5F57A #7AF5BA
monochromatic
#E311DE #F141EC #F57AF2 #F9B3F8 #FDE3FC

Accessibility & contrast

On white

2.35
#F57AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#F57AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F57AF2
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F57AF2#FFFFFF#000000##000000
##F57AF21.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#709FF6
Deuteranopia (green-blind)
#95AFEE
Tritanopia (blue-blind)
#FC87AB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f57af2;
/* rgb */ color: rgb(245, 122, 242);
/* oklch */ color: oklch(76.1% 0.206 328.3);
Tailwind
colors: {
  custom: {
    50: '#fba5f6',
    500: '#f57af2',
    950: '#000000',
  },
}
SCSS
$custom: #f57af2;
$custom-light: #fba5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f57af2",
  "rgb": {
    "r": 245,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 301.463,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.76128,
    "c": 0.20642,
    "h": 328.3
  },
  "luminance": 0.39742
}

Semantic roles & 50–950 ramp

primary
#F57AF2
secondary
#D6F5D7
accent
#E30803
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85

Preview Lab

Preview with #F57AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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