#F266D7#F266D7

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

Color values

HEX#F266D7
RGBrgb(242, 102, 215)
HSLhsl(312, 84%, 67%)
HSVhsv(312, 58%, 95%)
CMYKcmyk(0%, 57.9%, 11.2%, 5.1%)
CIE-LABlab(64.40, 66.65, -32.24)
CIE-LCHlch(64.40, 74.04, 334.19°)
OKLaboklab(72.07% 0.1941 -0.0875)
OKLCHoklch(72.07% 0.213 335.7)
XYZxyz(53.6355, 33.2904, 67.8776)
Luminance0.3329 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F266D7 #66F281
analogous
#C766F2 #F266D7 #F26691
triadic
#F266D7 #D7F266 #66D7F2
tetradic
#F266D7 #F2C766 #66F281 #6691F2
square
#F266D7 #F2C766 #66F281 #6691F2
split-complementary
#F266D7 #91F266 #66F2C7
monochromatic
#CC11A8 #ED2EC8 #F266D7 #F79EE6 #FCD7F4

Accessibility & contrast

On white

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

On black

7.66
#F266D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F266D7
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F266D7#FFFFFF#000000##000000
##F266D71.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#678FDB
Deuteranopia (green-blind)
#92A4D3
Tritanopia (blue-blind)
#FD6D95
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #f266d7;
/* rgb */ color: rgb(242, 102, 215);
/* oklch */ color: oklch(72.1% 0.213 335.7);
Tailwind
colors: {
  custom: {
    50: '#f998e3',
    500: '#f266d7',
    950: '#000000',
  },
}
SCSS
$custom: #f266d7;
$custom-light: #f998e3;
$custom-dark: #000000;
JSON
{
  "hex": "#f266d7",
  "rgb": {
    "r": 242,
    "g": 102,
    "b": 215
  },
  "hsl": {
    "h": 311.571,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72069,
    "c": 0.21288,
    "h": 335.7
  },
  "luminance": 0.33286
}

Semantic roles & 50–950 ramp

primary
#F266D7
secondary
#C4F0CC
accent
#E12F05
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180E15
muted
#867E83

Preview Lab

Preview with #F266D7

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

Preview Lab → · Contrast checker → · Palette generator →

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