#F266B1#F266B1

#F266B1 is a light, vivid pink. Relative luminance 0.316; OKLCH L 70.6% C 0.189 H 349.7°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#F266B1
RGBrgb(242, 102, 177)
HSLhsl(328, 84%, 67%)
HSVhsv(328, 58%, 95%)
CMYKcmyk(0%, 57.9%, 26.9%, 5.1%)
CIE-LABlab(62.98, 61.34, -12.90)
CIE-LCHlch(62.98, 62.68, 348.12°)
OKLaboklab(70.56% 0.1857 -0.0336)
OKLCHoklch(70.56% 0.189 349.7)
XYZxyz(49.3071, 31.5591, 45.0812)
Luminance0.3155 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F266B1 #66F2A7
analogous
#ED66F2 #F266B1 #F2666B
triadic
#F266B1 #B1F266 #66B1F2
tetradic
#F266B1 #F2ED66 #66F2A7 #666BF2
square
#F266B1 #F2ED66 #66F2A7 #666BF2
split-complementary
#F266B1 #6BF266 #66F2ED
monochromatic
#CC1175 #ED2E94 #F266B1 #F79ECE #FCD7EB

Accessibility & contrast

On white

2.87
#F266B1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#F266B1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F266B1
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F266B1#FFFFFF#000000##000000
##F266B11.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7789B3
Deuteranopia (green-blind)
#9EA2AE
Tritanopia (blue-blind)
#FF6184
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f266b1;
/* rgb */ color: rgb(242, 102, 177);
/* oklch */ color: oklch(70.6% 0.189 349.7);
Tailwind
colors: {
  custom: {
    50: '#fa98c8',
    500: '#f266b1',
    950: '#000000',
  },
}
SCSS
$custom: #f266b1;
$custom-light: #fa98c8;
$custom-dark: #000000;
JSON
{
  "hex": "#f266b1",
  "rgb": {
    "r": 242,
    "g": 102,
    "b": 177
  },
  "hsl": {
    "h": 327.857,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70556,
    "c": 0.18868,
    "h": 349.7
  },
  "luminance": 0.31554
}

Semantic roles & 50–950 ramp

primary
#F266B1
secondary
#C4F0D8
accent
#E16B05
background
#FFF9FC
surface
#FFF2F8
border
#D7CCD1
text
#180E13
muted
#867E82

Preview Lab

Preview with #F266B1

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

Preview Lab → · Contrast checker → · Palette generator →

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