#F266AC#F266AC

#F266AC is a light, vivid pink. Relative luminance 0.314; OKLCH L 70.4% C 0.186 H 351.8°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#F266AC
RGBrgb(242, 102, 172)
HSLhsl(330, 84%, 67%)
HSVhsv(330, 58%, 95%)
CMYKcmyk(0%, 57.9%, 28.9%, 5.1%)
CIE-LABlab(62.81, 60.71, -10.28)
CIE-LCHlch(62.81, 61.57, 350.39°)
OKLaboklab(70.38% 0.1843 -0.0265)
OKLCHoklch(70.38% 0.186 351.8)
XYZxyz(48.8178, 31.3634, 42.5045)
Luminance0.3136 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F266AC #66F2AC
analogous
#F266F2 #F266AC #F26666
triadic
#F266AC #ACF266 #66ACF2
tetradic
#F266AC #F2F266 #66F2AC #6666F2
square
#F266AC #F2F266 #66F2AC #6666F2
split-complementary
#F266AC #66F266 #66F2F2
monochromatic
#CC116F #ED2E8D #F266AC #F79ECB #FCD7E9

Accessibility & contrast

On white

2.89
#F266AC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#F266AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F266AC
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F266AC#FFFFFF#000000##000000
##F266AC1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7988AE
Deuteranopia (green-blind)
#9FA1A9
Tritanopia (blue-blind)
#FF5F82
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f266ac;
/* rgb */ color: rgb(242, 102, 172);
/* oklch */ color: oklch(70.4% 0.186 351.8);
Tailwind
colors: {
  custom: {
    50: '#fa98c4',
    500: '#f266ac',
    950: '#000000',
  },
}
SCSS
$custom: #f266ac;
$custom-light: #fa98c4;
$custom-dark: #000000;
JSON
{
  "hex": "#f266ac",
  "rgb": {
    "r": 242,
    "g": 102,
    "b": 172
  },
  "hsl": {
    "h": 330,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70381,
    "c": 0.18615,
    "h": 351.8
  },
  "luminance": 0.31359
}

Semantic roles & 50–950 ramp

primary
#F266AC
secondary
#C4F0DA
accent
#E17305
background
#FFF9FC
surface
#FFF2F8
border
#D7CCD1
text
#180E12
muted
#867E81

Preview Lab

Preview with #F266AC

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

Preview Lab → · Contrast checker → · Palette generator →

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