#F266C7#F266C7

#F266C7 is a light, highly saturated pink. Relative luminance 0.325; OKLCH L 71.4% C 0.202 H 341.2°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#F266C7
RGBrgb(242, 102, 199)
HSLhsl(318, 84%, 67%)
HSVhsv(318, 58%, 95%)
CMYKcmyk(0%, 57.9%, 17.8%, 5.1%)
CIE-LABlab(63.76, 64.30, -24.21)
CIE-LCHlch(63.76, 68.71, 339.37°)
OKLaboklab(71.39% 0.191 -0.0648)
OKLCHoklch(71.39% 0.202 341.2)
XYZxyz(51.6792, 32.5079, 57.5746)
Luminance0.3250 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F266C7 #66F291
analogous
#D766F2 #F266C7 #F26681
triadic
#F266C7 #C7F266 #66C7F2
tetradic
#F266C7 #F2D766 #66F291 #6681F2
square
#F266C7 #F2D766 #66F291 #6681F2
split-complementary
#F266C7 #81F266 #66F2D7
monochromatic
#CC1193 #ED2EB2 #F266C7 #F79EDC #FCD7F0

Accessibility & contrast

On white

2.80
#F266C7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#F266C7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F266C7
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F266C7#FFFFFF#000000##000000
##F266C71.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8CCA
Deuteranopia (green-blind)
#97A3C3
Tritanopia (blue-blind)
#FF688E
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #f266c7;
/* rgb */ color: rgb(242, 102, 199);
/* oklch */ color: oklch(71.4% 0.202 341.2);
Tailwind
colors: {
  custom: {
    50: '#fa98d8',
    500: '#f266c7',
    950: '#000000',
  },
}
SCSS
$custom: #f266c7;
$custom-light: #fa98d8;
$custom-dark: #000000;
JSON
{
  "hex": "#f266c7",
  "rgb": {
    "r": 242,
    "g": 102,
    "b": 199
  },
  "hsl": {
    "h": 318.429,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71393,
    "c": 0.20175,
    "h": 341.2
  },
  "luminance": 0.32504
}

Semantic roles & 50–950 ramp

primary
#F266C7
secondary
#C4F0D1
accent
#E14805
background
#FFF9FD
surface
#FFF2FA
border
#D7CCD3
text
#180E14
muted
#867E83

Preview Lab

Preview with #F266C7

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

Preview Lab → · Contrast checker → · Palette generator →

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