#F262D7#F262D7

#F262D7 is a light, highly saturated pink. Relative luminance 0.325; OKLCH L 71.6% C 0.219 H 335.6°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#F262D7
RGBrgb(242, 98, 215)
HSLhsl(311, 85%, 67%)
HSVhsv(311, 60%, 95%)
CMYKcmyk(0%, 59.5%, 11.2%, 5.1%)
CIE-LABlab(63.77, 68.35, -33.20)
CIE-LCHlch(63.77, 75.98, 334.09°)
OKLaboklab(71.61% 0.1991 -0.0902)
OKLCHoklch(71.61% 0.219 335.6)
XYZxyz(53.2518, 32.5231, 67.7497)
Luminance0.3252 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F262D7 #62F27D
analogous
#C562F2 #F262D7 #F2628F
triadic
#F262D7 #D7F262 #62D7F2
tetradic
#F262D7 #F2C562 #62F27D #628FF2
square
#F262D7 #F2C562 #62F27D #628FF2
split-complementary
#F262D7 #8FF262 #62F2C5
monochromatic
#C911A6 #ED29C9 #F262D7 #F79BE5 #FBD3F4

Accessibility & contrast

On white

2.80
#F262D7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#F262D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F262D7
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F262D7#FFFFFF#000000##000000
##F262D71.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#638DDB
Deuteranopia (green-blind)
#8FA2D3
Tritanopia (blue-blind)
#FD6A94
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #f262d7;
/* rgb */ color: rgb(242, 98, 215);
/* oklch */ color: oklch(71.6% 0.219 335.6);
Tailwind
colors: {
  custom: {
    50: '#fa96e3',
    500: '#f262d7',
    950: '#000000',
  },
}
SCSS
$custom: #f262d7;
$custom-light: #fa96e3;
$custom-dark: #000000;
JSON
{
  "hex": "#f262d7",
  "rgb": {
    "r": 242,
    "g": 98,
    "b": 215
  },
  "hsl": {
    "h": 311.25,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71612,
    "c": 0.21855,
    "h": 335.6
  },
  "luminance": 0.32519
}

Semantic roles & 50–950 ramp

primary
#F262D7
secondary
#C1EFC9
accent
#E12E04
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180E15
muted
#867E83

Preview Lab

Preview with #F262D7

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

Preview Lab → · Contrast checker → · Palette generator →

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