#F262D8#F262D8

#F262D8 is a light, highly saturated pink. Relative luminance 0.326; OKLCH L 71.7% C 0.219 H 335.3°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#F262D8
RGBrgb(242, 98, 216)
HSLhsl(311, 85%, 67%)
HSVhsv(311, 60%, 95%)
CMYKcmyk(0%, 59.5%, 10.7%, 5.1%)
CIE-LABlab(63.82, 68.50, -33.70)
CIE-LCHlch(63.82, 76.34, 333.80°)
OKLaboklab(71.66% 0.1992 -0.0916)
OKLCHoklch(71.66% 0.219 335.3)
XYZxyz(53.3807, 32.5747, 68.4285)
Luminance0.3257 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F262D8 #62F27C
analogous
#C462F2 #F262D8 #F26290
triadic
#F262D8 #D8F262 #62D8F2
tetradic
#F262D8 #F2C462 #62F27C #6290F2
square
#F262D8 #F2C462 #62F27C #6290F2
split-complementary
#F262D8 #90F262 #62F2C4
monochromatic
#C911A8 #ED29CA #F262D8 #F79BE6 #FBD3F4

Accessibility & contrast

On white

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

On black

7.51
#F262D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F262D8
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F262D8#FFFFFF#000000##000000
##F262D81.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#628DDC
Deuteranopia (green-blind)
#8FA2D4
Tritanopia (blue-blind)
#FD6A94
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #f262d8;
/* rgb */ color: rgb(242, 98, 216);
/* oklch */ color: oklch(71.7% 0.219 335.3);
Tailwind
colors: {
  custom: {
    50: '#fa96e4',
    500: '#f262d8',
    950: '#000000',
  },
}
SCSS
$custom: #f262d8;
$custom-light: #fa96e4;
$custom-dark: #000000;
JSON
{
  "hex": "#f262d8",
  "rgb": {
    "r": 242,
    "g": 98,
    "b": 216
  },
  "hsl": {
    "h": 310.833,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71657,
    "c": 0.21927,
    "h": 335.3
  },
  "luminance": 0.3257
}

Semantic roles & 50–950 ramp

primary
#F262D8
secondary
#C1EFC9
accent
#E12C04
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E15
muted
#867E84

Preview Lab

Preview with #F262D8

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

Preview Lab → · Contrast checker → · Palette generator →

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