#F06A9D#F06A9D

#F06A9D is a light, vivid pink. Relative luminance 0.313; OKLCH L 70.1% C 0.172 H 358.6°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#F06A9D
RGBrgb(240, 106, 157)
HSLhsl(337, 82%, 68%)
HSVhsv(337, 56%, 94%)
CMYKcmyk(0%, 55.8%, 34.6%, 5.9%)
CIE-LABlab(62.74, 56.50, -1.83)
CIE-LCHlch(62.74, 56.53, 358.15°)
OKLaboklab(70.12% 0.1721 -0.0041)
OKLCHoklch(70.12% 0.172 358.6)
XYZxyz(47.1775, 31.2725, 35.4434)
Luminance0.3127 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06A9D #6AF0BD
analogous
#F06AE0 #F06A9D #F07A6A
triadic
#F06A9D #9DF06A #6A9DF0
tetradic
#F06A9D #E0F06A #6AF0BD #7A6AF0
square
#F06A9D #E0F06A #6AF0BD #7A6AF0
split-complementary
#F06A9D #6AF07A #6AE0F0
monochromatic
#CB145A #EA3278 #F06A9D #F6A2C2 #FBD9E6

Accessibility & contrast

On white

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

On black

7.25
#F06A9D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06A9D
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06A9D#FFFFFF#000000##000000
##F06A9D1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#80889F
Deuteranopia (green-blind)
#A3A19A
Tritanopia (blue-blind)
#FF5F7D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f06a9d;
/* rgb */ color: rgb(240, 106, 157);
/* oklch */ color: oklch(70.1% 0.172 358.6);
Tailwind
colors: {
  custom: {
    50: '#f99ab9',
    500: '#f06a9d',
    950: '#000000',
  },
}
SCSS
$custom: #f06a9d;
$custom-light: #f99ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#f06a9d",
  "rgb": {
    "r": 240,
    "g": 106,
    "b": 157
  },
  "hsl": {
    "h": 337.164,
    "s": 81.707,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70116,
    "c": 0.17214,
    "h": 358.6
  },
  "luminance": 0.31268
}

Semantic roles & 50–950 ramp

primary
#F06A9D
secondary
#C6F0E0
accent
#DE8C07
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180E11
muted
#867E80

Preview Lab

Preview with #F06A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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