#F266C2#F266C2

#F266C2 is a light, vivid pink. Relative luminance 0.323; OKLCH L 71.2% C 0.199 H 343.1°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#F266C2
RGBrgb(242, 102, 194)
HSLhsl(321, 84%, 67%)
HSVhsv(321, 58%, 95%)
CMYKcmyk(0%, 57.9%, 19.8%, 5.1%)
CIE-LABlab(63.57, 63.60, -21.67)
CIE-LCHlch(63.57, 67.19, 341.19°)
OKLaboklab(71.19% 0.1899 -0.0577)
OKLCHoklch(71.19% 0.199 343.1)
XYZxyz(51.1082, 32.2795, 54.5673)
Luminance0.3227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F266C2 #66F296
analogous
#DC66F2 #F266C2 #F2667C
triadic
#F266C2 #C2F266 #66C2F2
tetradic
#F266C2 #F2DC66 #66F296 #667CF2
square
#F266C2 #F2DC66 #66F296 #667CF2
split-complementary
#F266C2 #7CF266 #66F2DC
monochromatic
#CC118C #ED2EAC #F266C2 #F79ED8 #FCD7EF

Accessibility & contrast

On white

2.82
#F266C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#F266C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F266C2
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F266C2#FFFFFF#000000##000000
##F266C21.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#718BC5
Deuteranopia (green-blind)
#99A2BE
Tritanopia (blue-blind)
#FF668B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #f266c2;
/* rgb */ color: rgb(242, 102, 194);
/* oklch */ color: oklch(71.2% 0.199 343.1);
Tailwind
colors: {
  custom: {
    50: '#fa98d4',
    500: '#f266c2',
    950: '#000000',
  },
}
SCSS
$custom: #f266c2;
$custom-light: #fa98d4;
$custom-dark: #000000;
JSON
{
  "hex": "#f266c2",
  "rgb": {
    "r": 242,
    "g": 102,
    "b": 194
  },
  "hsl": {
    "h": 320.571,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71194,
    "c": 0.19853,
    "h": 343.1
  },
  "luminance": 0.32275
}

Semantic roles & 50–950 ramp

primary
#F266C2
secondary
#C4F0D3
accent
#E15005
background
#FFF9FD
surface
#FFF2FA
border
#D7CCD3
text
#180E14
muted
#867E83

Preview Lab

Preview with #F266C2

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

Preview Lab → · Contrast checker → · Palette generator →

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