#F06BA2#F06BA2

#F06BA2 is a light, vivid pink. Relative luminance 0.316; OKLCH L 70.4% C 0.173 H 356.5°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#F06BA2
RGBrgb(240, 107, 162)
HSLhsl(335, 82%, 68%)
HSVhsv(335, 55%, 94%)
CMYKcmyk(0%, 55.4%, 32.5%, 5.9%)
CIE-LABlab(63.06, 56.63, -4.23)
CIE-LCHlch(63.06, 56.79, 355.73°)
OKLaboklab(70.4% 0.1723 -0.0104)
OKLCHoklch(70.4% 0.173 356.5)
XYZxyz(47.7168, 31.6540, 37.7723)
Luminance0.3165 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06BA2 #6BF0B9
analogous
#F06BE4 #F06BA2 #F0766B
triadic
#F06BA2 #A2F06B #6BA2F0
tetradic
#F06BA2 #E4F06B #6BF0B9 #766BF0
square
#F06BA2 #E4F06B #6BF0B9 #766BF0
split-complementary
#F06BA2 #6BF076 #6BE4F0
monochromatic
#CC1560 #EA337F #F06BA2 #F6A3C5 #FBDAE8

Accessibility & contrast

On white

2.87
#F06BA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#F06BA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06BA2
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06BA2#FFFFFF#000000##000000
##F06BA21.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F89A4
Deuteranopia (green-blind)
#A3A29F
Tritanopia (blue-blind)
#FF6280
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #f06ba2;
/* rgb */ color: rgb(240, 107, 162);
/* oklch */ color: oklch(70.4% 0.173 356.5);
Tailwind
colors: {
  custom: {
    50: '#f99abd',
    500: '#f06ba2',
    950: '#000000',
  },
}
SCSS
$custom: #f06ba2;
$custom-light: #f99abd;
$custom-dark: #000000;
JSON
{
  "hex": "#f06ba2",
  "rgb": {
    "r": 240,
    "g": 107,
    "b": 162
  },
  "hsl": {
    "h": 335.188,
    "s": 81.595,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70402,
    "c": 0.17259,
    "h": 356.5
  },
  "luminance": 0.31649
}

Semantic roles & 50–950 ramp

primary
#F06BA2
secondary
#C7F0DF
accent
#DE8508
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180E12
muted
#867E81

Preview Lab

Preview with #F06BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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