#F06C8B#F06C8B

#F06C8B is a light, vivid red. Relative luminance 0.311; OKLCH L 69.9% C 0.164 H 7.7°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#F06C8B
RGBrgb(240, 108, 139)
HSLhsl(346, 81%, 68%)
HSVhsv(346, 55%, 94%)
CMYKcmyk(0%, 55%, 42.1%, 5.9%)
CIE-LABlab(62.61, 53.62, 8.34)
CIE-LCHlch(62.61, 54.27, 8.84°)
OKLaboklab(69.86% 0.163 0.022)
OKLCHoklch(69.86% 0.164 7.7)
XYZxyz(45.9609, 31.1195, 28.0073)
Luminance0.3111 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06C8B #6CF0D1
analogous
#F06CCD #F06C8B #F08F6C
triadic
#F06C8B #8BF06C #6C8BF0
tetradic
#F06C8B #CDF06C #6CF0D1 #8F6CF0
square
#F06C8B #CDF06C #6CF0D1 #8F6CF0
split-complementary
#F06C8B #6CF08F #6CCDF0
monochromatic
#CD1540 #EA345F #F06C8B #F6A4B7 #FBDBE3

Accessibility & contrast

On white

2.91
#F06C8B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#F06C8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06C8B
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06C8B#FFFFFF#000000##000000
##F06C8B1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86878C
Deuteranopia (green-blind)
#A8A188
Tritanopia (blue-blind)
#FF5D78
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #f06c8b;
/* rgb */ color: rgb(240, 108, 139);
/* oklch */ color: oklch(69.9% 0.164 7.7);
Tailwind
colors: {
  custom: {
    50: '#f99aac',
    500: '#f06c8b',
    950: '#000000',
  },
}
SCSS
$custom: #f06c8b;
$custom-light: #f99aac;
$custom-dark: #000000;
JSON
{
  "hex": "#f06c8b",
  "rgb": {
    "r": 240,
    "g": 108,
    "b": 139
  },
  "hsl": {
    "h": 345.909,
    "s": 81.481,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69862,
    "c": 0.16445,
    "h": 7.7
  },
  "luminance": 0.31114
}

Semantic roles & 50–950 ramp

primary
#F06C8B
secondary
#C8F0E7
accent
#DEAC08
background
#FFF9FA
surface
#FFF2F4
border
#D7CCCE
text
#180E10
muted
#867E7F

Preview Lab

Preview with #F06C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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