#F266CB#F266CB

#F266CB is a light, highly saturated pink. Relative luminance 0.327; OKLCH L 71.6% C 0.204 H 339.8°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#F266CB
RGBrgb(242, 102, 203)
HSLhsl(317, 84%, 67%)
HSVhsv(317, 58%, 95%)
CMYKcmyk(0%, 57.9%, 16.1%, 5.1%)
CIE-LABlab(63.91, 64.87, -26.23)
CIE-LCHlch(63.91, 69.98, 337.98°)
OKLaboklab(71.56% 0.1919 -0.0705)
OKLCHoklch(71.56% 0.204 339.8)
XYZxyz(52.1498, 32.6961, 60.0527)
Luminance0.3269 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F266CB #66F28D
analogous
#D366F2 #F266CB #F26685
triadic
#F266CB #CBF266 #66CBF2
tetradic
#F266CB #F2D366 #66F28D #6685F2
square
#F266CB #F2D366 #66F28D #6685F2
split-complementary
#F266CB #85F266 #66F2D3
monochromatic
#CC1198 #ED2EB8 #F266CB #F79EDE #FCD7F1

Accessibility & contrast

On white

2.79
#F266CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#F266CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F266CB
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F266CB#FFFFFF#000000##000000
##F266CB1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8DCE
Deuteranopia (green-blind)
#96A3C7
Tritanopia (blue-blind)
#FF6990
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #f266cb;
/* rgb */ color: rgb(242, 102, 203);
/* oklch */ color: oklch(71.6% 0.204 339.8);
Tailwind
colors: {
  custom: {
    50: '#f998db',
    500: '#f266cb',
    950: '#000000',
  },
}
SCSS
$custom: #f266cb;
$custom-light: #f998db;
$custom-dark: #000000;
JSON
{
  "hex": "#f266cb",
  "rgb": {
    "r": 242,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 316.714,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71557,
    "c": 0.20442,
    "h": 339.8
  },
  "luminance": 0.32692
}

Semantic roles & 50–950 ramp

primary
#F266CB
secondary
#C4F0D0
accent
#E14205
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180E15
muted
#867E83

Preview Lab

Preview with #F266CB

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

Preview Lab → · Contrast checker → · Palette generator →

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