#F07EDC#F07EDC

#F07EDC is a light, vivid pink. Relative luminance 0.386; OKLCH L 75.1% C 0.179 H 334.2°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#F07EDC
RGBrgb(240, 126, 220)
HSLhsl(311, 79%, 72%)
HSVhsv(311, 48%, 94%)
CMYKcmyk(0%, 47.5%, 8.3%, 5.9%)
CIE-LABlab(68.47, 55.84, -28.75)
CIE-LCHlch(68.47, 62.80, 332.76°)
OKLaboklab(75.1% 0.1607 -0.0778)
OKLCHoklch(75.1% 0.179 334.2)
XYZxyz(56.3142, 38.6178, 72.1841)
Luminance0.3861 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07EDC #7EF092
analogous
#CB7EF0 #F07EDC #F07EA3
triadic
#F07EDC #DCF07E #7EDCF0
tetradic
#F07EDC #F0CB7E #7EF092 #7EA3F0
square
#F07EDC #F0CB7E #7EF092 #7EA3F0
split-complementary
#F07EDC #A3F07E #7EF0CB
monochromatic
#DA19B8 #EA47CD #F07EDC #F6B5EB #FCE4F8

Accessibility & contrast

On white

2.41
#F07EDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#F07EDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07EDC
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07EDC#FFFFFF#000000##000000
##F07EDC1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9DDF
Deuteranopia (green-blind)
#9DADD9
Tritanopia (blue-blind)
#F984A3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f07edc;
/* rgb */ color: rgb(240, 126, 220);
/* oklch */ color: oklch(75.1% 0.179 334.2);
Tailwind
colors: {
  custom: {
    50: '#f7a7e7',
    500: '#f07edc',
    950: '#000000',
  },
}
SCSS
$custom: #f07edc;
$custom-light: #f7a7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f07edc",
  "rgb": {
    "r": 240,
    "g": 126,
    "b": 220
  },
  "hsl": {
    "h": 310.526,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75096,
    "c": 0.17857,
    "h": 334.2
  },
  "luminance": 0.38614
}

Semantic roles & 50–950 ramp

primary
#F07EDC
secondary
#D6F3DC
accent
#DB2F0A
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F07EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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