#F06DA2#F06DA2

#F06DA2 is a light, vivid pink. Relative luminance 0.321; OKLCH L 70.7% C 0.170 H 356.9°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#F06DA2
RGBrgb(240, 109, 162)
HSLhsl(336, 81%, 68%)
HSVhsv(336, 55%, 94%)
CMYKcmyk(0%, 54.6%, 32.5%, 5.9%)
CIE-LABlab(63.41, 55.71, -3.71)
CIE-LCHlch(63.41, 55.83, 356.19°)
OKLaboklab(70.66% 0.1694 -0.009)
OKLCHoklch(70.66% 0.17 356.9)
XYZxyz(47.9277, 32.0759, 37.8426)
Luminance0.3207 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06DA2 #6DF0BB
analogous
#F06DE3 #F06DA2 #F0796D
triadic
#F06DA2 #A2F06D #6DA2F0
tetradic
#F06DA2 #E3F06D #6DF0BB #796DF0
square
#F06DA2 #E3F06D #6DF0BB #796DF0
split-complementary
#F06DA2 #6DF079 #6DE3F0
monochromatic
#CD1560 #EA367F #F06DA2 #F6A4C5 #FBDCE9

Accessibility & contrast

On white

2.83
#F06DA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#F06DA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06DA2
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06DA2#FFFFFF#000000##000000
##F06DA21.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#818AA4
Deuteranopia (green-blind)
#A4A39F
Tritanopia (blue-blind)
#FF6481
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #f06da2;
/* rgb */ color: rgb(240, 109, 162);
/* oklch */ color: oklch(70.7% 0.170 356.9);
Tailwind
colors: {
  custom: {
    50: '#f89bbd',
    500: '#f06da2',
    950: '#000000',
  },
}
SCSS
$custom: #f06da2;
$custom-light: #f89bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#f06da2",
  "rgb": {
    "r": 240,
    "g": 109,
    "b": 162
  },
  "hsl": {
    "h": 335.725,
    "s": 81.366,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70663,
    "c": 0.16967,
    "h": 356.9
  },
  "luminance": 0.32071
}

Semantic roles & 50–950 ramp

primary
#F06DA2
secondary
#C9F0E0
accent
#DE8708
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180E12
muted
#867E81

Preview Lab

Preview with #F06DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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