#F04871#F04871

#F04871 is a light, highly saturated red. Relative luminance 0.244; OKLCH L 65.1% C 0.204 H 10.6°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#F04871
RGBrgb(240, 72, 113)
HSLhsl(345, 85%, 61%)
HSVhsv(345, 70%, 94%)
CMYKcmyk(0%, 70%, 52.9%, 5.9%)
CIE-LABlab(56.44, 66.26, 14.83)
CIE-LCHlch(56.44, 67.90, 12.62°)
OKLaboklab(65.06% 0.2008 0.0376)
OKLCHoklch(65.06% 0.204 10.6)
XYZxyz(41.2369, 24.3579, 18.1497)
Luminance0.2435 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04871 #48F0C7
analogous
#F048C5 #F04871 #F07348
triadic
#F04871 #71F048 #4871F0
tetradic
#F04871 #C5F048 #48F0C7 #7348F0
square
#F04871 #C5F048 #48F0C7 #7348F0
split-complementary
#F04871 #48F073 #48C5F0
monochromatic
#AF0E36 #E81347 #F04871 #F5819D #F9B9C9

Accessibility & contrast

On white

3.58
#F04871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#F04871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04871
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04871#FFFFFF#000000##000000
##F048711.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#727272
Deuteranopia (green-blind)
#9D946D
Tritanopia (blue-blind)
#FF2259
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #f04871;
/* rgb */ color: rgb(240, 72, 113);
/* oklch */ color: oklch(65.1% 0.204 10.6);
Tailwind
colors: {
  custom: {
    50: '#fc8699',
    500: '#f04871',
    950: '#000000',
  },
}
SCSS
$custom: #f04871;
$custom-light: #fc8699;
$custom-dark: #000000;
JSON
{
  "hex": "#f04871",
  "rgb": {
    "r": 240,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 345.357,
    "s": 84.848,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6506,
    "c": 0.2043,
    "h": 10.6
  },
  "luminance": 0.24352
}

Semantic roles & 50–950 ramp

primary
#F04871
secondary
#AAE9DA
accent
#E1AB04
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#190C0D
muted
#877D7E

Preview Lab

Preview with #F04871

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

Preview Lab → · Contrast checker → · Palette generator →

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