#F266A2#F266A2

#F266A2 is a light, vivid pink. Relative luminance 0.310; OKLCH L 70.0% C 0.182 H 356.1°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#F266A2
RGBrgb(242, 102, 162)
HSLhsl(334, 84%, 67%)
HSVhsv(334, 58%, 95%)
CMYKcmyk(0%, 57.9%, 33.1%, 5.1%)
CIE-LABlab(62.50, 59.51, -5.01)
CIE-LCHlch(62.50, 59.72, 355.19°)
OKLaboklab(70.05% 0.1813 -0.0124)
OKLCHoklch(70.05% 0.182 356.1)
XYZxyz(47.8933, 30.9936, 37.6355)
Luminance0.3099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F266A2 #66F2B6
analogous
#F266E8 #F266A2 #F27066
triadic
#F266A2 #A2F266 #66A2F2
tetradic
#F266A2 #E8F266 #66F2B6 #7066F2
square
#F266A2 #E8F266 #66F2B6 #7066F2
split-complementary
#F266A2 #66F270 #66E8F2
monochromatic
#CC1161 #ED2E80 #F266A2 #F79EC4 #FCD7E7

Accessibility & contrast

On white

2.92
#F266A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#F266A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F266A2
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F266A2#FFFFFF#000000##000000
##F266A21.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C87A4
Deuteranopia (green-blind)
#A1A19F
Tritanopia (blue-blind)
#FF5C7D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #f266a2;
/* rgb */ color: rgb(242, 102, 162);
/* oklch */ color: oklch(70.0% 0.182 356.1);
Tailwind
colors: {
  custom: {
    50: '#fa97bd',
    500: '#f266a2',
    950: '#000000',
  },
}
SCSS
$custom: #f266a2;
$custom-light: #fa97bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f266a2",
  "rgb": {
    "r": 242,
    "g": 102,
    "b": 162
  },
  "hsl": {
    "h": 334.286,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70047,
    "c": 0.18168,
    "h": 356.1
  },
  "luminance": 0.30989
}

Semantic roles & 50–950 ramp

primary
#F266A2
secondary
#C4F0DD
accent
#E18205
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180E12
muted
#867E81

Preview Lab

Preview with #F266A2

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

Preview Lab → · Contrast checker → · Palette generator →

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