#F266AB#F266AB

#F266AB is a light, vivid pink. Relative luminance 0.313; OKLCH L 70.3% C 0.186 H 352.2°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#F266AB
RGBrgb(242, 102, 171)
HSLhsl(330, 84%, 67%)
HSVhsv(330, 58%, 95%)
CMYKcmyk(0%, 57.9%, 29.3%, 5.1%)
CIE-LABlab(62.78, 60.59, -9.76)
CIE-LCHlch(62.78, 61.37, 350.85°)
OKLaboklab(70.35% 0.184 -0.0251)
OKLCHoklch(70.35% 0.186 352.2)
XYZxyz(48.7222, 31.3251, 42.0006)
Luminance0.3132 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F266AB #66F2AD
analogous
#F266F1 #F266AB #F26766
triadic
#F266AB #ABF266 #66ABF2
tetradic
#F266AB #F1F266 #66F2AD #6766F2
square
#F266AB #F1F266 #66F2AD #6766F2
split-complementary
#F266AB #66F267 #66F1F2
monochromatic
#CC116D #ED2E8C #F266AB #F79ECA #FCD7E9

Accessibility & contrast

On white

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

On black

7.26
#F266AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F266AB
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F266AB#FFFFFF#000000##000000
##F266AB1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7988AD
Deuteranopia (green-blind)
#9FA1A8
Tritanopia (blue-blind)
#FF5F81
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f266ab;
/* rgb */ color: rgb(242, 102, 171);
/* oklch */ color: oklch(70.3% 0.186 352.2);
Tailwind
colors: {
  custom: {
    50: '#fa98c4',
    500: '#f266ab',
    950: '#000000',
  },
}
SCSS
$custom: #f266ab;
$custom-light: #fa98c4;
$custom-dark: #000000;
JSON
{
  "hex": "#f266ab",
  "rgb": {
    "r": 242,
    "g": 102,
    "b": 171
  },
  "hsl": {
    "h": 330.429,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70346,
    "c": 0.18567,
    "h": 352.2
  },
  "luminance": 0.3132
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F266AB

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

Preview Lab → · Contrast checker → · Palette generator →

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