#F06C7E#F06C7E

#F06C7E is a light, vivid red. Relative luminance 0.308; OKLCH L 69.5% C 0.163 H 13.9°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#F06C7E
RGBrgb(240, 108, 126)
HSLhsl(352, 81%, 68%)
HSVhsv(352, 55%, 94%)
CMYKcmyk(0%, 55%, 47.5%, 5.9%)
CIE-LABlab(62.31, 52.36, 15.39)
CIE-LCHlch(62.31, 54.58, 16.37°)
OKLaboklab(69.54% 0.1582 0.0393)
OKLCHoklch(69.54% 0.163 13.9)
XYZxyz(45.0669, 30.7619, 23.2989)
Luminance0.3076 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06C7E #6CF0DE
analogous
#F06CC0 #F06C7E #F09C6C
triadic
#F06C7E #7EF06C #6C7EF0
tetradic
#F06C7E #C0F06C #6CF0DE #9C6CF0
square
#F06C7E #C0F06C #6CF0DE #9C6CF0
split-complementary
#F06C7E #6CF09C #6CC0F0
monochromatic
#CD152E #EA344D #F06C7E #F6A4AF #FBDBDF

Accessibility & contrast

On white

2.94
#F06C7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#F06C7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06C7E
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06C7E#FFFFFF#000000##000000
##F06C7E1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88867E
Deuteranopia (green-blind)
#AAA17B
Tritanopia (blue-blind)
#FF5A73
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #f06c7e;
/* rgb */ color: rgb(240, 108, 126);
/* oklch */ color: oklch(69.5% 0.163 13.9);
Tailwind
colors: {
  custom: {
    50: '#fa9aa3',
    500: '#f06c7e',
    950: '#000000',
  },
}
SCSS
$custom: #f06c7e;
$custom-light: #fa9aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#f06c7e",
  "rgb": {
    "r": 240,
    "g": 108,
    "b": 126
  },
  "hsl": {
    "h": 351.818,
    "s": 81.481,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69536,
    "c": 0.16295,
    "h": 13.9
  },
  "luminance": 0.30757
}

Semantic roles & 50–950 ramp

primary
#F06C7E
secondary
#C8F0EA
accent
#DEC108
background
#FFF9FA
surface
#FFF2F3
border
#D7CCCD
text
#180E0F
muted
#867E7F

Preview Lab

Preview with #F06C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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