#F05874#F05874

#F05874 is a light, vivid red. Relative luminance 0.268; OKLCH L 66.8% C 0.187 H 12.7°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#F05874
RGBrgb(240, 88, 116)
HSLhsl(349, 84%, 64%)
HSVhsv(349, 63%, 94%)
CMYKcmyk(0%, 63.3%, 51.7%, 5.9%)
CIE-LABlab(58.76, 60.34, 16.27)
CIE-LCHlch(58.76, 62.49, 15.09°)
OKLaboklab(66.81% 0.1823 0.0412)
OKLCHoklch(66.81% 0.187 12.7)
XYZxyz(42.5809, 26.7711, 19.4447)
Luminance0.2677 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F05874 #58F0D4
analogous
#F058C0 #F05874 #F08858
triadic
#F05874 #74F058 #5874F0
tetradic
#F05874 #C0F058 #58F0D4 #8858F0
square
#F05874 #C0F058 #58F0D4 #8858F0
split-complementary
#F05874 #58F088 #58C0F0
monochromatic
#BD1131 #EB2045 #F05874 #F590A3 #FAC8D1

Accessibility & contrast

On white

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

On black

6.35
#F05874 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F05874
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F05874#FFFFFF#000000##000000
##F058741.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7A74
Deuteranopia (green-blind)
#A39970
Tritanopia (blue-blind)
#FF3E63
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #f05874;
/* rgb */ color: rgb(240, 88, 116);
/* oklch */ color: oklch(66.8% 0.187 12.7);
Tailwind
colors: {
  custom: {
    50: '#fb8f9b',
    500: '#f05874',
    950: '#000000',
  },
}
SCSS
$custom: #f05874;
$custom-light: #fb8f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f05874",
  "rgb": {
    "r": 240,
    "g": 88,
    "b": 116
  },
  "hsl": {
    "h": 348.947,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66807,
    "c": 0.18687,
    "h": 12.7
  },
  "luminance": 0.26766
}

Semantic roles & 50–950 ramp

primary
#F05874
secondary
#B8ECE3
accent
#E0B806
background
#FFF9F9
surface
#FFF1F2
border
#D7CBCC
text
#190D0E
muted
#877E7E

Preview Lab

Preview with #F05874

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

Preview Lab → · Contrast checker → · Palette generator →

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