#F07ED4#F07ED4

#F07ED4 is a light, vivid pink. Relative luminance 0.382; OKLCH L 74.8% C 0.172 H 337.2°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#F07ED4
RGBrgb(240, 126, 212)
HSLhsl(315, 79%, 72%)
HSVhsv(315, 48%, 94%)
CMYKcmyk(0%, 47.5%, 11.7%, 5.9%)
CIE-LABlab(68.17, 54.56, -24.77)
CIE-LCHlch(68.17, 59.92, 335.58°)
OKLaboklab(74.77% 0.1589 -0.0666)
OKLCHoklch(74.77% 0.172 337.2)
XYZxyz(55.2800, 38.2041, 66.7371)
Luminance0.3820 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07ED4 #7EF09A
analogous
#D37EF0 #F07ED4 #F07E9B
triadic
#F07ED4 #D4F07E #7ED4F0
tetradic
#F07ED4 #F0D37E #7EF09A #7E9BF0
square
#F07ED4 #F0D37E #7EF09A #7E9BF0
split-complementary
#F07ED4 #9BF07E #7EF0D3
monochromatic
#DA19AB #EA47C2 #F07ED4 #F6B5E6 #FCE4F6

Accessibility & contrast

On white

2.43
#F07ED4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#F07ED4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07ED4
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07ED4#FFFFFF#000000##000000
##F07ED41.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#809BD7
Deuteranopia (green-blind)
#A0ADD1
Tritanopia (blue-blind)
#FA829F
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f07ed4;
/* rgb */ color: rgb(240, 126, 212);
/* oklch */ color: oklch(74.8% 0.172 337.2);
Tailwind
colors: {
  custom: {
    50: '#f7a7e1',
    500: '#f07ed4',
    950: '#000000',
  },
}
SCSS
$custom: #f07ed4;
$custom-light: #f7a7e1;
$custom-dark: #000000;
JSON
{
  "hex": "#f07ed4",
  "rgb": {
    "r": 240,
    "g": 126,
    "b": 212
  },
  "hsl": {
    "h": 314.737,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.74771,
    "c": 0.17234,
    "h": 337.2
  },
  "luminance": 0.382
}

Semantic roles & 50–950 ramp

primary
#F07ED4
secondary
#D6F3DE
accent
#DB3D0A
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #F07ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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