#F266A5#F266A5

#F266A5 is a light, vivid pink. Relative luminance 0.311; OKLCH L 70.1% C 0.183 H 354.8°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#F266A5
RGBrgb(242, 102, 165)
HSLhsl(333, 84%, 67%)
HSVhsv(333, 58%, 95%)
CMYKcmyk(0%, 57.9%, 31.8%, 5.1%)
CIE-LABlab(62.59, 59.86, -6.60)
CIE-LCHlch(62.59, 60.22, 353.71°)
OKLaboklab(70.15% 0.1822 -0.0167)
OKLCHoklch(70.15% 0.183 354.8)
XYZxyz(48.1632, 31.1015, 39.0567)
Luminance0.3110 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F266A5 #66F2B3
analogous
#F266EB #F266A5 #F26D66
triadic
#F266A5 #A5F266 #66A5F2
tetradic
#F266A5 #EBF266 #66F2B3 #6D66F2
square
#F266A5 #EBF266 #66F2B3 #6D66F2
split-complementary
#F266A5 #66F26D #66EBF2
monochromatic
#CC1165 #ED2E84 #F266A5 #F79EC6 #FCD7E7

Accessibility & contrast

On white

2.91
#F266A5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#F266A5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F266A5
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F266A5#FFFFFF#000000##000000
##F266A51.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B87A7
Deuteranopia (green-blind)
#A1A1A2
Tritanopia (blue-blind)
#FF5D7E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #f266a5;
/* rgb */ color: rgb(242, 102, 165);
/* oklch */ color: oklch(70.1% 0.183 354.8);
Tailwind
colors: {
  custom: {
    50: '#fa97bf',
    500: '#f266a5',
    950: '#000000',
  },
}
SCSS
$custom: #f266a5;
$custom-light: #fa97bf;
$custom-dark: #000000;
JSON
{
  "hex": "#f266a5",
  "rgb": {
    "r": 242,
    "g": 102,
    "b": 165
  },
  "hsl": {
    "h": 333,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70145,
    "c": 0.18294,
    "h": 354.8
  },
  "luminance": 0.31097
}

Semantic roles & 50–950 ramp

primary
#F266A5
secondary
#C4F0DC
accent
#E17E05
background
#FFF9FB
surface
#FFF2F7
border
#D7CCD0
text
#180E12
muted
#867E81

Preview Lab

Preview with #F266A5

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

Preview Lab → · Contrast checker → · Palette generator →

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