#F07EDB#F07EDB

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

Color values

HEX#F07EDB
RGBrgb(240, 126, 219)
HSLhsl(311, 79%, 72%)
HSVhsv(311, 48%, 94%)
CMYKcmyk(0%, 47.5%, 8.8%, 5.9%)
CIE-LABlab(68.44, 55.68, -28.25)
CIE-LCHlch(68.44, 62.43, 333.10°)
OKLaboklab(75.06% 0.1605 -0.0764)
OKLCHoklch(75.06% 0.178 334.5)
XYZxyz(56.1822, 38.5650, 71.4887)
Luminance0.3856 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07EDB #7EF093
analogous
#CC7EF0 #F07EDB #F07EA2
triadic
#F07EDB #DBF07E #7EDBF0
tetradic
#F07EDB #F0CC7E #7EF093 #7EA2F0
square
#F07EDB #F0CC7E #7EF093 #7EA2F0
split-complementary
#F07EDB #A2F07E #7EF0CC
monochromatic
#DA19B7 #EA47CC #F07EDB #F6B5EA #FCE4F7

Accessibility & contrast

On white

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

On black

8.71
#F07EDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07EDB
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07EDB#FFFFFF#000000##000000
##F07EDB1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9CDE
Deuteranopia (green-blind)
#9DADD8
Tritanopia (blue-blind)
#F984A2
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f07edb;
/* rgb */ color: rgb(240, 126, 219);
/* oklch */ color: oklch(75.1% 0.178 334.5);
Tailwind
colors: {
  custom: {
    50: '#f7a7e6',
    500: '#f07edb',
    950: '#000000',
  },
}
SCSS
$custom: #f07edb;
$custom-light: #f7a7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f07edb",
  "rgb": {
    "r": 240,
    "g": 126,
    "b": 219
  },
  "hsl": {
    "h": 311.053,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75055,
    "c": 0.17778,
    "h": 334.5
  },
  "luminance": 0.38561
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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