#F266DB#F266DB

#F266DB is a light, highly saturated purple. Relative luminance 0.335; OKLCH L 72.2% C 0.216 H 334.4°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#F266DB
RGBrgb(242, 102, 219)
HSLhsl(310, 84%, 67%)
HSVhsv(310, 58%, 95%)
CMYKcmyk(0%, 57.9%, 9.5%, 5.1%)
CIE-LABlab(64.56, 67.26, -34.22)
CIE-LCHlch(64.56, 75.47, 333.04°)
OKLaboklab(72.25% 0.1947 -0.0931)
OKLCHoklch(72.25% 0.216 334.4)
XYZxyz(54.1558, 33.4985, 70.6176)
Luminance0.3349 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F266DB #66F27D
analogous
#C366F2 #F266DB #F26695
triadic
#F266DB #DBF266 #66DBF2
tetradic
#F266DB #F2C366 #66F27D #6695F2
square
#F266DB #F2C366 #66F27D #6695F2
split-complementary
#F266DB #95F266 #66F2C3
monochromatic
#CC11AE #ED2ECE #F266DB #F79EE8 #FCD7F6

Accessibility & contrast

On white

2.73
#F266DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#F266DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F266DB
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F266DB#FFFFFF#000000##000000
##F266DB1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#658FDF
Deuteranopia (green-blind)
#90A4D7
Tritanopia (blue-blind)
#FD6F97
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f266db;
/* rgb */ color: rgb(242, 102, 219);
/* oklch */ color: oklch(72.2% 0.216 334.4);
Tailwind
colors: {
  custom: {
    50: '#f999e6',
    500: '#f266db',
    950: '#000000',
  },
}
SCSS
$custom: #f266db;
$custom-light: #f999e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f266db",
  "rgb": {
    "r": 242,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 309.857,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72246,
    "c": 0.21584,
    "h": 334.4
  },
  "luminance": 0.33494
}

Semantic roles & 50–950 ramp

primary
#F266DB
secondary
#C4F0CB
accent
#E12905
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F266DB

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

Preview Lab → · Contrast checker → · Palette generator →

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