#F05871#F05871

#F05871 is a light, vivid red. Relative luminance 0.267; OKLCH L 66.7% C 0.187 H 14.0°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#F05871
RGBrgb(240, 88, 113)
HSLhsl(350, 84%, 64%)
HSVhsv(350, 63%, 94%)
CMYKcmyk(0%, 63.3%, 52.9%, 5.9%)
CIE-LABlab(58.70, 60.10, 17.94)
CIE-LCHlch(58.70, 62.72, 16.62°)
OKLaboklab(66.74% 0.1812 0.0451)
OKLCHoklch(66.74% 0.187 14)
XYZxyz(42.4092, 26.7024, 18.5404)
Luminance0.2670 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F05871 #58F0D7
analogous
#F058BD #F05871 #F08B58
triadic
#F05871 #71F058 #5871F0
tetradic
#F05871 #BDF058 #58F0D7 #8B58F0
square
#F05871 #BDF058 #58F0D7 #8B58F0
split-complementary
#F05871 #58F08B #58BDF0
monochromatic
#BD112D #EB2041 #F05871 #F590A1 #FAC8D0

Accessibility & contrast

On white

3.31
#F05871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#F05871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F05871
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F05871#FFFFFF#000000##000000
##F058711.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7971
Deuteranopia (green-blind)
#A3996D
Tritanopia (blue-blind)
#FF3D62
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #f05871;
/* rgb */ color: rgb(240, 88, 113);
/* oklch */ color: oklch(66.7% 0.187 14.0);
Tailwind
colors: {
  custom: {
    50: '#fb8e99',
    500: '#f05871',
    950: '#000000',
  },
}
SCSS
$custom: #f05871;
$custom-light: #fb8e99;
$custom-dark: #000000;
JSON
{
  "hex": "#f05871",
  "rgb": {
    "r": 240,
    "g": 88,
    "b": 113
  },
  "hsl": {
    "h": 350.132,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66738,
    "c": 0.18668,
    "h": 14
  },
  "luminance": 0.26697
}

Semantic roles & 50–950 ramp

primary
#F05871
secondary
#B8ECE4
accent
#E0BC06
background
#FFF9F9
surface
#FFF1F2
border
#D7CBCC
text
#190D0D
muted
#877E7E

Preview Lab

Preview with #F05871

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

Preview Lab → · Contrast checker → · Palette generator →

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