#F266B2#F266B2

#F266B2 is a light, vivid pink. Relative luminance 0.316; OKLCH L 70.6% C 0.189 H 349.3°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#F266B2
RGBrgb(242, 102, 178)
HSLhsl(327, 84%, 67%)
HSVhsv(327, 58%, 95%)
CMYKcmyk(0%, 57.9%, 26.4%, 5.1%)
CIE-LABlab(63.01, 61.46, -13.42)
CIE-LCHlch(63.01, 62.91, 347.68°)
OKLaboklab(70.59% 0.1859 -0.035)
OKLCHoklch(70.59% 0.189 349.3)
XYZxyz(49.4071, 31.5991, 45.6080)
Luminance0.3159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F266B2 #66F2A6
analogous
#EC66F2 #F266B2 #F2666C
triadic
#F266B2 #B2F266 #66B2F2
tetradic
#F266B2 #F2EC66 #66F2A6 #666CF2
square
#F266B2 #F2EC66 #66F2A6 #666CF2
split-complementary
#F266B2 #6CF266 #66F2EC
monochromatic
#CC1177 #ED2E96 #F266B2 #F79ECE #FCD7EB

Accessibility & contrast

On white

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

On black

7.32
#F266B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F266B2
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F266B2#FFFFFF#000000##000000
##F266B21.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7789B4
Deuteranopia (green-blind)
#9DA2AF
Tritanopia (blue-blind)
#FF6184
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f266b2;
/* rgb */ color: rgb(242, 102, 178);
/* oklch */ color: oklch(70.6% 0.189 349.3);
Tailwind
colors: {
  custom: {
    50: '#fa98c9',
    500: '#f266b2',
    950: '#000000',
  },
}
SCSS
$custom: #f266b2;
$custom-light: #fa98c9;
$custom-dark: #000000;
JSON
{
  "hex": "#f266b2",
  "rgb": {
    "r": 242,
    "g": 102,
    "b": 178
  },
  "hsl": {
    "h": 327.429,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70592,
    "c": 0.1892,
    "h": 349.3
  },
  "luminance": 0.31594
}

Semantic roles & 50–950 ramp

primary
#F266B2
secondary
#C4F0D8
accent
#E16905
background
#FFF9FC
surface
#FFF2F8
border
#D7CCD1
text
#180E13
muted
#867E82

Preview Lab

Preview with #F266B2

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

Preview Lab → · Contrast checker → · Palette generator →

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