#F058D2#F058D2

#F058D2 is a light, highly saturated pink. Relative luminance 0.302; OKLCH L 70.0% C 0.227 H 336.4°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#F058D2
RGBrgb(240, 88, 210)
HSLhsl(312, 84%, 64%)
HSVhsv(312, 63%, 94%)
CMYKcmyk(0%, 63.3%, 12.5%, 5.9%)
CIE-LABlab(61.79, 71.14, -33.49)
CIE-LCHlch(61.79, 78.63, 334.79°)
OKLaboklab(70.04% 0.2083 -0.0909)
OKLCHoklch(70.04% 0.227 336.4)
XYZxyz(51.0584, 30.1621, 64.0930)
Luminance0.3016 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F058D2 #58F076
analogous
#C258F0 #F058D2 #F05886
triadic
#F058D2 #D2F058 #58D2F0
tetradic
#F058D2 #F0C258 #58F076 #5886F0
square
#F058D2 #F0C258 #58F076 #5886F0
split-complementary
#F058D2 #86F058 #58F0C2
monochromatic
#BD119B #EB20C3 #F058D2 #F590E1 #FAC8F0

Accessibility & contrast

On white

2.99
#F058D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#F058D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F058D2
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F058D2#FFFFFF#000000##000000
##F058D21.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A87D6
Deuteranopia (green-blind)
#8B9ECE
Tritanopia (blue-blind)
#FC608D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #f058d2;
/* rgb */ color: rgb(240, 88, 210);
/* oklch */ color: oklch(70.0% 0.227 336.4);
Tailwind
colors: {
  custom: {
    50: '#f891e0',
    500: '#f058d2',
    950: '#000000',
  },
}
SCSS
$custom: #f058d2;
$custom-light: #f891e0;
$custom-dark: #000000;
JSON
{
  "hex": "#f058d2",
  "rgb": {
    "r": 240,
    "g": 88,
    "b": 210
  },
  "hsl": {
    "h": 311.842,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.70037,
    "c": 0.22724,
    "h": 336.4
  },
  "luminance": 0.30158
}

Semantic roles & 50–950 ramp

primary
#F058D2
secondary
#B8ECC2
accent
#E03106
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #F058D2

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

Preview Lab → · Contrast checker → · Palette generator →

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