#F06987#F06987

#F06987 is a light, vivid red. Relative luminance 0.304; OKLCH L 69.4% C 0.168 H 8.7°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#F06987
RGBrgb(240, 105, 135)
HSLhsl(347, 82%, 68%)
HSVhsv(347, 56%, 94%)
CMYKcmyk(0%, 56.3%, 43.8%, 5.9%)
CIE-LABlab(61.98, 54.61, 9.75)
CIE-LCHlch(61.98, 55.47, 10.13°)
OKLaboklab(69.36% 0.1659 0.0255)
OKLCHoklch(69.36% 0.168 8.7)
XYZxyz(45.3630, 30.3828, 26.3925)
Luminance0.3038 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06987 #69F0D2
analogous
#F069CA #F06987 #F08F69
triadic
#F06987 #87F069 #6987F0
tetradic
#F06987 #CAF069 #69F0D2 #8F69F0
square
#F06987 #CAF069 #69F0D2 #8F69F0
split-complementary
#F06987 #69F08F #69CAF0
monochromatic
#CA143D #EA315A #F06987 #F6A1B4 #FBD8E0

Accessibility & contrast

On white

2.97
#F06987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#F06987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06987
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06987#FFFFFF#000000##000000
##F069871.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#848588
Deuteranopia (green-blind)
#A7A084
Tritanopia (blue-blind)
#FF5974
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #f06987;
/* rgb */ color: rgb(240, 105, 135);
/* oklch */ color: oklch(69.4% 0.168 8.7);
Tailwind
colors: {
  custom: {
    50: '#f999a9',
    500: '#f06987',
    950: '#000000',
  },
}
SCSS
$custom: #f06987;
$custom-light: #f999a9;
$custom-dark: #000000;
JSON
{
  "hex": "#f06987",
  "rgb": {
    "r": 240,
    "g": 105,
    "b": 135
  },
  "hsl": {
    "h": 346.667,
    "s": 81.818,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69361,
    "c": 0.1678,
    "h": 8.7
  },
  "luminance": 0.30378
}

Semantic roles & 50–950 ramp

primary
#F06987
secondary
#C5EFE6
accent
#DEAE07
background
#FFF9FA
surface
#FFF2F4
border
#D7CCCE
text
#180E0F
muted
#867E7F

Preview Lab

Preview with #F06987

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

Preview Lab → · Contrast checker → · Palette generator →

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