#F05170#F05170

#F05170 is a light, vivid red. Relative luminance 0.256; OKLCH L 65.9% C 0.195 H 12.8°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#F05170
RGBrgb(240, 81, 112)
HSLhsl(348, 84%, 63%)
HSVhsv(348, 66%, 94%)
CMYKcmyk(0%, 66.3%, 53.3%, 5.9%)
CIE-LABlab(57.64, 62.83, 17.07)
CIE-LCHlch(57.64, 65.11, 15.20°)
OKLaboklab(65.94% 0.1897 0.043)
OKLCHoklch(65.94% 0.195 12.8)
XYZxyz(41.8059, 25.5855, 18.0632)
Luminance0.2558 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F05170 #51F0D1
analogous
#F051BF #F05170 #F08151
triadic
#F05170 #70F051 #5170F0
tetradic
#F05170 #BFF051 #51F0D1 #8151F0
square
#F05170 #BFF051 #51F0D1 #8151F0
split-complementary
#F05170 #51F081 #51BFF0
monochromatic
#B71030 #EB1942 #F05170 #F5899E #FAC2CD

Accessibility & contrast

On white

3.43
#F05170 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#F05170 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F05170
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F05170#FFFFFF#000000##000000
##F051701.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#777670
Deuteranopia (green-blind)
#A0966C
Tritanopia (blue-blind)
#FF325D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #f05170;
/* rgb */ color: rgb(240, 81, 112);
/* oklch */ color: oklch(65.9% 0.195 12.8);
Tailwind
colors: {
  custom: {
    50: '#fb8b98',
    500: '#f05170',
    950: '#000000',
  },
}
SCSS
$custom: #f05170;
$custom-light: #fb8b98;
$custom-dark: #000000;
JSON
{
  "hex": "#f05170",
  "rgb": {
    "r": 240,
    "g": 81,
    "b": 112
  },
  "hsl": {
    "h": 348.302,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65943,
    "c": 0.19453,
    "h": 12.8
  },
  "luminance": 0.2558
}

Semantic roles & 50–950 ramp

primary
#F05170
secondary
#B2EBE0
accent
#E1B605
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#190D0D
muted
#877D7E

Preview Lab

Preview with #F05170

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

Preview Lab → · Contrast checker → · Palette generator →

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