#F266A7#F266A7

#F266A7 is a light, vivid pink. Relative luminance 0.312; OKLCH L 70.2% C 0.184 H 353.9°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#F266A7
RGBrgb(242, 102, 167)
HSLhsl(332, 84%, 67%)
HSVhsv(332, 58%, 95%)
CMYKcmyk(0%, 57.9%, 31%, 5.1%)
CIE-LABlab(62.66, 60.10, -7.65)
CIE-LCHlch(62.66, 60.58, 352.74°)
OKLaboklab(70.21% 0.1828 -0.0195)
OKLCHoklch(70.21% 0.184 353.9)
XYZxyz(48.3466, 31.1749, 40.0229)
Luminance0.3117 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F266A7 #66F2B1
analogous
#F266ED #F266A7 #F26B66
triadic
#F266A7 #A7F266 #66A7F2
tetradic
#F266A7 #EDF266 #66F2B1 #6B66F2
square
#F266A7 #EDF266 #66F2B1 #6B66F2
split-complementary
#F266A7 #66F26B #66EDF2
monochromatic
#CC1168 #ED2E87 #F266A7 #F79EC7 #FCD7E8

Accessibility & contrast

On white

2.90
#F266A7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#F266A7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F266A7
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F266A7#FFFFFF#000000##000000
##F266A71.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A88A9
Deuteranopia (green-blind)
#A0A1A4
Tritanopia (blue-blind)
#FF5E7F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #f266a7;
/* rgb */ color: rgb(242, 102, 167);
/* oklch */ color: oklch(70.2% 0.184 353.9);
Tailwind
colors: {
  custom: {
    50: '#fa98c1',
    500: '#f266a7',
    950: '#000000',
  },
}
SCSS
$custom: #f266a7;
$custom-light: #fa98c1;
$custom-dark: #000000;
JSON
{
  "hex": "#f266a7",
  "rgb": {
    "r": 242,
    "g": 102,
    "b": 167
  },
  "hsl": {
    "h": 332.143,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70211,
    "c": 0.18381,
    "h": 353.9
  },
  "luminance": 0.3117
}

Semantic roles & 50–950 ramp

primary
#F266A7
secondary
#C4F0DB
accent
#E17B05
background
#FFF9FB
surface
#FFF2F7
border
#D7CCD0
text
#180E12
muted
#867E81

Preview Lab

Preview with #F266A7

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

Preview Lab → · Contrast checker → · Palette generator →

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