#F06ED4#F06ED4

#F06ED4 is a light, vivid pink. Relative luminance 0.344; OKLCH L 72.6% C 0.198 H 336.5°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#F06ED4
RGBrgb(240, 110, 212)
HSLhsl(313, 81%, 69%)
HSVhsv(313, 54%, 94%)
CMYKcmyk(0%, 54.2%, 11.7%, 5.9%)
CIE-LABlab(65.31, 62.11, -29.17)
CIE-LCHlch(65.31, 68.62, 334.84°)
OKLaboklab(72.64% 0.1811 -0.0789)
OKLCHoklch(72.64% 0.198 336.5)
XYZxyz(53.3952, 34.4346, 66.1088)
Luminance0.3443 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06ED4 #6EF08A
analogous
#CB6EF0 #F06ED4 #F06E93
triadic
#F06ED4 #D4F06E #6ED4F0
tetradic
#F06ED4 #F0CB6E #6EF08A #6E93F0
square
#F06ED4 #F0CB6E #6EF08A #6E93F0
split-complementary
#F06ED4 #93F06E #6EF0CB
monochromatic
#CE15A6 #EA37C4 #F06ED4 #F6A5E4 #FBDDF5

Accessibility & contrast

On white

2.66
#F06ED4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#F06ED4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06ED4
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06ED4#FFFFFF#000000##000000
##F06ED41.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7092D7
Deuteranopia (green-blind)
#96A6D1
Tritanopia (blue-blind)
#FB7498
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f06ed4;
/* rgb */ color: rgb(240, 110, 212);
/* oklch */ color: oklch(72.6% 0.198 336.5);
Tailwind
colors: {
  custom: {
    50: '#f89de1',
    500: '#f06ed4',
    950: '#000000',
  },
}
SCSS
$custom: #f06ed4;
$custom-light: #f89de1;
$custom-dark: #000000;
JSON
{
  "hex": "#f06ed4",
  "rgb": {
    "r": 240,
    "g": 110,
    "b": 212
  },
  "hsl": {
    "h": 312.923,
    "s": 81.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72644,
    "c": 0.1975,
    "h": 336.5
  },
  "luminance": 0.34431
}

Semantic roles & 50–950 ramp

primary
#F06ED4
secondary
#CAF0D2
accent
#DE3608
background
#FFFAFD
surface
#FFF3FB
border
#D7CDD4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F06ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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