#F06271#F06271

#F06271 is a light, vivid red. Relative luminance 0.285; OKLCH L 67.9% C 0.175 H 16.7°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#F06271
RGBrgb(240, 98, 113)
HSLhsl(354, 83%, 66%)
HSVhsv(354, 59%, 94%)
CMYKcmyk(0%, 59.2%, 52.9%, 5.9%)
CIE-LABlab(60.30, 55.81, 20.12)
CIE-LCHlch(60.30, 59.32, 19.82°)
OKLaboklab(67.94% 0.1676 0.0503)
OKLCHoklch(67.94% 0.175 16.7)
XYZxyz(43.2871, 28.4582, 18.8331)
Luminance0.2845 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06271 #62F0E1
analogous
#F062B8 #F06271 #F09A62
triadic
#F06271 #71F062 #6271F0
tetradic
#F06271 #B8F062 #62F0E1 #9A62F0
square
#F06271 #B8F062 #62F0E1 #9A62F0
split-complementary
#F06271 #62F09A #62B8F0
monochromatic
#C51326 #EB2A3E #F06271 #F59AA4 #FBD2D6

Accessibility & contrast

On white

3.14
#F06271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#F06271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F06271
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06271#FFFFFF#000000##000000
##F062711.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#837F71
Deuteranopia (green-blind)
#A79C6E
Tritanopia (blue-blind)
#FF4B68
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #f06271;
/* rgb */ color: rgb(240, 98, 113);
/* oklch */ color: oklch(67.9% 0.175 16.7);
Tailwind
colors: {
  custom: {
    50: '#fb9499',
    500: '#f06271',
    950: '#000000',
  },
}
SCSS
$custom: #f06271;
$custom-light: #fb9499;
$custom-dark: #000000;
JSON
{
  "hex": "#f06271",
  "rgb": {
    "r": 240,
    "g": 98,
    "b": 113
  },
  "hsl": {
    "h": 353.662,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.67938,
    "c": 0.17495,
    "h": 16.7
  },
  "luminance": 0.28453
}

Semantic roles & 50–950 ramp

primary
#F06271
secondary
#C0EEE9
accent
#DFC807
background
#FFF9F9
surface
#FFF2F2
border
#D7CCCC
text
#190E0E
muted
#877E7E

Preview Lab

Preview with #F06271

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

Preview Lab → · Contrast checker → · Palette generator →

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