#F266CC#F266CC

#F266CC is a light, highly saturated pink. Relative luminance 0.327; OKLCH L 71.6% C 0.205 H 339.5°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#F266CC
RGBrgb(242, 102, 204)
HSLhsl(316, 84%, 67%)
HSVhsv(316, 58%, 95%)
CMYKcmyk(0%, 57.9%, 15.7%, 5.1%)
CIE-LABlab(63.95, 65.02, -26.74)
CIE-LCHlch(63.95, 70.30, 337.65°)
OKLaboklab(71.6% 0.1921 -0.0719)
OKLCHoklch(71.6% 0.205 339.5)
XYZxyz(52.2693, 32.7439, 60.6823)
Luminance0.3274 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F266CC #66F28C
analogous
#D266F2 #F266CC #F26686
triadic
#F266CC #CCF266 #66CCF2
tetradic
#F266CC #F2D266 #66F28C #6686F2
square
#F266CC #F2D266 #66F28C #6686F2
split-complementary
#F266CC #86F266 #66F2D2
monochromatic
#CC119A #ED2EB9 #F266CC #F79EDF #FCD7F2

Accessibility & contrast

On white

2.78
#F266CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#F266CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F266CC
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F266CC#FFFFFF#000000##000000
##F266CC1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8DCF
Deuteranopia (green-blind)
#96A3C8
Tritanopia (blue-blind)
#FF6A90
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #f266cc;
/* rgb */ color: rgb(242, 102, 204);
/* oklch */ color: oklch(71.6% 0.205 339.5);
Tailwind
colors: {
  custom: {
    50: '#f998db',
    500: '#f266cc',
    950: '#000000',
  },
}
SCSS
$custom: #f266cc;
$custom-light: #f998db;
$custom-dark: #000000;
JSON
{
  "hex": "#f266cc",
  "rgb": {
    "r": 242,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 316.286,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71599,
    "c": 0.2051,
    "h": 339.5
  },
  "luminance": 0.3274
}

Semantic roles & 50–950 ramp

primary
#F266CC
secondary
#C4F0D0
accent
#E14005
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180E15
muted
#867E83

Preview Lab

Preview with #F266CC

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

Preview Lab → · Contrast checker → · Palette generator →

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