#F06C8D#F06C8D

#F06C8D is a light, vivid red. Relative luminance 0.312; OKLCH L 69.9% C 0.165 H 6.7°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#F06C8D
RGBrgb(240, 108, 141)
HSLhsl(345, 81%, 68%)
HSVhsv(345, 55%, 94%)
CMYKcmyk(0%, 55%, 41.3%, 5.9%)
CIE-LABlab(62.66, 53.83, 7.26)
CIE-LCHlch(62.66, 54.32, 7.68°)
OKLaboklab(69.92% 0.1637 0.0193)
OKLCHoklch(69.92% 0.165 6.7)
XYZxyz(46.1084, 31.1784, 28.7840)
Luminance0.3117 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06C8D #6CF0CF
analogous
#F06CCF #F06C8D #F08D6C
triadic
#F06C8D #8DF06C #6C8DF0
tetradic
#F06C8D #CFF06C #6CF0CF #8D6CF0
square
#F06C8D #CFF06C #6CF0CF #8D6CF0
split-complementary
#F06C8D #6CF08D #6CCFF0
monochromatic
#CD1543 #EA3462 #F06C8D #F6A4B8 #FBDBE3

Accessibility & contrast

On white

2.90
#F06C8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#F06C8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06C8D
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06C8D#FFFFFF#000000##000000
##F06C8D1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#85878E
Deuteranopia (green-blind)
#A7A18A
Tritanopia (blue-blind)
#FF5D78
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f06c8d;
/* rgb */ color: rgb(240, 108, 141);
/* oklch */ color: oklch(69.9% 0.165 6.7);
Tailwind
colors: {
  custom: {
    50: '#f99aae',
    500: '#f06c8d',
    950: '#000000',
  },
}
SCSS
$custom: #f06c8d;
$custom-light: #f99aae;
$custom-dark: #000000;
JSON
{
  "hex": "#f06c8d",
  "rgb": {
    "r": 240,
    "g": 108,
    "b": 141
  },
  "hsl": {
    "h": 345,
    "s": 81.481,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69916,
    "c": 0.16482,
    "h": 6.7
  },
  "luminance": 0.31173
}

Semantic roles & 50–950 ramp

primary
#F06C8D
secondary
#C8F0E6
accent
#DEA808
background
#FFF9FA
surface
#FFF2F4
border
#D7CCCE
text
#180E10
muted
#867E7F

Preview Lab

Preview with #F06C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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