#F06C8A#F06C8A
#F06C8A is a light, vivid red. Relative luminance 0.311; OKLCH L 69.8% C 0.164 H 8.2°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #F06C8A |
|---|---|
| RGB | rgb(240, 108, 138) |
| HSL | hsl(346, 81%, 68%) |
| HSV | hsv(346, 55%, 94%) |
| CMYK | cmyk(0%, 55%, 42.5%, 5.9%) |
| CIE-LAB | lab(62.58, 53.52, 8.88) |
| CIE-LCH | lch(62.58, 54.25, 9.42°) |
| OKLab | oklab(69.84% 0.1626 0.0233) |
| OKLCH | oklch(69.84% 0.164 8.2) |
| XYZ | xyz(45.8882, 31.0904, 27.6243) |
| Luminance | 0.3109 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rosy Pink
#F6688E
ΔE00 1.63
Watermelon
#FC6C85
ΔE00 3.06
Strawberry
#FC5A8D
ΔE00 3.83
Warm Pink
#FB5581
ΔE00 3.88
Carnation
#FD798F
ΔE00 4.10
Medium Pink
#F36196
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F06C8A #6CF0D2
analogous
#F06CCC #F06C8A #F0906C
triadic
#F06C8A #8AF06C #6C8AF0
tetradic
#F06C8A #CCF06C #6CF0D2 #906CF0
square
#F06C8A #CCF06C #6CF0D2 #906CF0
split-complementary
#F06C8A #6CF090 #6CCCF0
monochromatic
#CD153F #EA345E #F06C8A #F6A4B6 #FBDBE2
Accessibility & contrast
On white
2.91
#F06C8A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.22
#F06C8A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F06C8A
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F06C8A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F06C8A | 1.00 | 2.91 | 7.22 | 7.22 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86878B
Deuteranopia (green-blind)
#A8A187
Tritanopia (blue-blind)
#FF5D77
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #f06c8a; /* rgb */ color: rgb(240, 108, 138); /* oklch */ color: oklch(69.8% 0.164 8.2);
Tailwind
colors: {
custom: {
50: '#f99aac',
500: '#f06c8a',
950: '#000000',
},
}SCSS
$custom: #f06c8a; $custom-light: #f99aac; $custom-dark: #000000;
JSON
{
"hex": "#f06c8a",
"rgb": {
"r": 240,
"g": 108,
"b": 138
},
"hsl": {
"h": 346.364,
"s": 81.481,
"l": 68.235
},
"oklch": {
"l": 0.69836,
"c": 0.16427,
"h": 8.2
},
"luminance": 0.31085
}Semantic roles & 50–950 ramp
primary
#F06C8A
secondary
#C8F0E7
accent
#DEAD08
background
#FFF9FA
surface
#FFF2F4
border
#D7CCCE
text
#180E10
muted
#867E7F