#F266D8#F266D8

#F266D8 is a light, highly saturated pink. Relative luminance 0.333; OKLCH L 72.1% C 0.214 H 335.4°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#F266D8
RGBrgb(242, 102, 216)
HSLhsl(311, 84%, 67%)
HSVhsv(311, 58%, 95%)
CMYKcmyk(0%, 57.9%, 10.7%, 5.1%)
CIE-LABlab(64.44, 66.80, -32.73)
CIE-LCHlch(64.44, 74.39, 333.89°)
OKLaboklab(72.11% 0.1943 -0.0889)
OKLCHoklch(72.11% 0.214 335.4)
XYZxyz(53.7644, 33.3420, 68.5564)
Luminance0.3334 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F266D8 #66F280
analogous
#C666F2 #F266D8 #F26692
triadic
#F266D8 #D8F266 #66D8F2
tetradic
#F266D8 #F2C666 #66F280 #6692F2
square
#F266D8 #F2C666 #66F280 #6692F2
split-complementary
#F266D8 #92F266 #66F2C6
monochromatic
#CC11AA #ED2ECA #F266D8 #F79EE6 #FCD7F5

Accessibility & contrast

On white

2.74
#F266D8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#F266D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F266D8
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F266D8#FFFFFF#000000##000000
##F266D81.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#678FDC
Deuteranopia (green-blind)
#91A4D4
Tritanopia (blue-blind)
#FD6E96
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #f266d8;
/* rgb */ color: rgb(242, 102, 216);
/* oklch */ color: oklch(72.1% 0.214 335.4);
Tailwind
colors: {
  custom: {
    50: '#f999e4',
    500: '#f266d8',
    950: '#000000',
  },
}
SCSS
$custom: #f266d8;
$custom-light: #f999e4;
$custom-dark: #000000;
JSON
{
  "hex": "#f266d8",
  "rgb": {
    "r": 242,
    "g": 102,
    "b": 216
  },
  "hsl": {
    "h": 311.143,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72113,
    "c": 0.21362,
    "h": 335.4
  },
  "luminance": 0.33338
}

Semantic roles & 50–950 ramp

primary
#F266D8
secondary
#C4F0CC
accent
#E12E05
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E15
muted
#867E84

Preview Lab

Preview with #F266D8

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

Preview Lab → · Contrast checker → · Palette generator →

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