#F062E1#F062E1

#F062E1 is a light, highly saturated purple. Relative luminance 0.327; OKLCH L 71.8% C 0.225 H 332.0°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#F062E1
RGBrgb(240, 98, 225)
HSLhsl(306, 83%, 66%)
HSVhsv(306, 59%, 94%)
CMYKcmyk(0%, 59.2%, 6.3%, 5.9%)
CIE-LABlab(63.92, 69.37, -38.60)
CIE-LCHlch(63.92, 79.39, 330.91°)
OKLaboklab(71.8% 0.1984 -0.1056)
OKLCHoklch(71.8% 0.225 332)
XYZxyz(53.8934, 32.7008, 74.6929)
Luminance0.3270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F062E1 #62F071
analogous
#B862F0 #F062E1 #F0629A
triadic
#F062E1 #E1F062 #62E1F0
tetradic
#F062E1 #F0B862 #62F071 #629AF0
square
#F062E1 #F0B862 #62F071 #629AF0
split-complementary
#F062E1 #9AF062 #62F0B8
monochromatic
#C513B2 #EB2AD6 #F062E1 #F59AEC #FBD2F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F062E1#FFFFFF#000000##000000
##F062E11.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)
#5C8EE5
Deuteranopia (green-blind)
#8AA2DD
Tritanopia (blue-blind)
#F96E99
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #f062e1;
/* rgb */ color: rgb(240, 98, 225);
/* oklch */ color: oklch(71.8% 0.225 332.0);
Tailwind
colors: {
  custom: {
    50: '#f896eb',
    500: '#f062e1',
    950: '#000000',
  },
}
SCSS
$custom: #f062e1;
$custom-light: #f896eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f062e1",
  "rgb": {
    "r": 240,
    "g": 98,
    "b": 225
  },
  "hsl": {
    "h": 306.338,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.71802,
    "c": 0.22476,
    "h": 332
  },
  "luminance": 0.32697
}

Semantic roles & 50–950 ramp

primary
#F062E1
secondary
#C0EEC5
accent
#DF1D07
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F062E1

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

Preview Lab → · Contrast checker → · Palette generator →

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