#F262A8#F262A8

#F262A8 is a light, vivid pink. Relative luminance 0.304; OKLCH L 69.8% C 0.190 H 352.9°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#F262A8
RGBrgb(242, 98, 168)
HSLhsl(331, 85%, 67%)
HSVhsv(331, 60%, 95%)
CMYKcmyk(0%, 59.5%, 30.6%, 5.1%)
CIE-LABlab(62.04, 61.96, -9.15)
CIE-LCHlch(62.04, 62.64, 351.60°)
OKLaboklab(69.76% 0.1885 -0.0235)
OKLCHoklch(69.76% 0.19 352.9)
XYZxyz(48.0558, 30.4447, 40.3838)
Luminance0.3044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F262A8 #62F2AC
analogous
#F262F0 #F262A8 #F26462
triadic
#F262A8 #A8F262 #62A8F2
tetradic
#F262A8 #F0F262 #62F2AC #6462F2
square
#F262A8 #F0F262 #62F2AC #6462F2
split-complementary
#F262A8 #62F264 #62F0F2
monochromatic
#C9116A #ED2989 #F262A8 #F79BC7 #FBD3E7

Accessibility & contrast

On white

2.96
#F262A8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#F262A8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F262A8
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F262A8#FFFFFF#000000##000000
##F262A81.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7786AA
Deuteranopia (green-blind)
#9EA0A5
Tritanopia (blue-blind)
#FF5A7E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #f262a8;
/* rgb */ color: rgb(242, 98, 168);
/* oklch */ color: oklch(69.8% 0.190 352.9);
Tailwind
colors: {
  custom: {
    50: '#fa95c1',
    500: '#f262a8',
    950: '#000000',
  },
}
SCSS
$custom: #f262a8;
$custom-light: #fa95c1;
$custom-dark: #000000;
JSON
{
  "hex": "#f262a8",
  "rgb": {
    "r": 242,
    "g": 98,
    "b": 168
  },
  "hsl": {
    "h": 330.833,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69762,
    "c": 0.18994,
    "h": 352.9
  },
  "luminance": 0.3044
}

Semantic roles & 50–950 ramp

primary
#F262A8
secondary
#C1EFD9
accent
#E17604
background
#FFF9FB
surface
#FFF2F7
border
#D7CCD0
text
#180E12
muted
#867E81

Preview Lab

Preview with #F262A8

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

Preview Lab → · Contrast checker → · Palette generator →

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