#F07ED2#F07ED2

#F07ED2 is a light, vivid pink. Relative luminance 0.381; OKLCH L 74.7% C 0.171 H 338.1°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#F07ED2
RGBrgb(240, 126, 210)
HSLhsl(316, 79%, 72%)
HSVhsv(316, 48%, 94%)
CMYKcmyk(0%, 47.5%, 12.5%, 5.9%)
CIE-LABlab(68.10, 54.24, -23.77)
CIE-LCHlch(68.10, 59.22, 336.34°)
OKLaboklab(74.69% 0.1585 -0.0638)
OKLCHoklch(74.69% 0.171 338.1)
XYZxyz(55.0293, 38.1039, 65.4166)
Luminance0.3810 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07ED2 #7EF09C
analogous
#D57EF0 #F07ED2 #F07E99
triadic
#F07ED2 #D2F07E #7ED2F0
tetradic
#F07ED2 #F0D57E #7EF09C #7E99F0
square
#F07ED2 #F0D57E #7EF09C #7E99F0
split-complementary
#F07ED2 #99F07E #7EF0D5
monochromatic
#DA19A7 #EA47BF #F07ED2 #F6B5E5 #FCE4F5

Accessibility & contrast

On white

2.44
#F07ED2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#F07ED2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07ED2
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07ED2#FFFFFF#000000##000000
##F07ED21.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#819BD5
Deuteranopia (green-blind)
#A0ACCF
Tritanopia (blue-blind)
#FB819E
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f07ed2;
/* rgb */ color: rgb(240, 126, 210);
/* oklch */ color: oklch(74.7% 0.171 338.1);
Tailwind
colors: {
  custom: {
    50: '#f7a7e0',
    500: '#f07ed2',
    950: '#000000',
  },
}
SCSS
$custom: #f07ed2;
$custom-light: #f7a7e0;
$custom-dark: #000000;
JSON
{
  "hex": "#f07ed2",
  "rgb": {
    "r": 240,
    "g": 126,
    "b": 210
  },
  "hsl": {
    "h": 315.789,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.74692,
    "c": 0.17084,
    "h": 338.1
  },
  "luminance": 0.381
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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