#F07EA2#F07EA2

#F07EA2 is a light, vivid pink. Relative luminance 0.361; OKLCH L 73.0% C 0.144 H 1.2°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#F07EA2
RGBrgb(240, 126, 162)
HSLhsl(341, 79%, 72%)
HSVhsv(341, 48%, 94%)
CMYKcmyk(0%, 47.5%, 32.5%, 5.9%)
CIE-LABlab(66.57, 47.52, 0.92)
CIE-LCHlch(66.57, 47.53, 1.11°)
OKLaboklab(73.04% 0.1442 0.003)
OKLCHoklch(73.04% 0.144 1.2)
XYZxyz(49.9198, 36.0601, 38.5066)
Luminance0.3606 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07EA2 #7EF0CC
analogous
#F07EDB #F07EA2 #F0937E
triadic
#F07EA2 #A2F07E #7EA2F0
tetradic
#F07EA2 #DBF07E #7EF0CC #937EF0
square
#F07EA2 #DBF07E #7EF0CC #937EF0
split-complementary
#F07EA2 #7EF093 #7EDBF0
monochromatic
#DA1956 #EA477A #F07EA2 #F6B5CA #FCE4EB

Accessibility & contrast

On white

2.56
#F07EA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#F07EA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07EA2
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07EA2#FFFFFF#000000##000000
##F07EA21.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9095A3
Deuteranopia (green-blind)
#ADAA9F
Tritanopia (blue-blind)
#FF758B
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f07ea2;
/* rgb */ color: rgb(240, 126, 162);
/* oklch */ color: oklch(73.0% 0.144 1.2);
Tailwind
colors: {
  custom: {
    50: '#f8a6bd',
    500: '#f07ea2',
    950: '#000000',
  },
}
SCSS
$custom: #f07ea2;
$custom-light: #f8a6bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f07ea2",
  "rgb": {
    "r": 240,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 341.053,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73038,
    "c": 0.14427,
    "h": 1.2
  },
  "luminance": 0.36056
}

Semantic roles & 50–950 ramp

primary
#F07EA2
secondary
#D6F3EA
accent
#DB990A
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#181012
muted
#867F81

Preview Lab

Preview with #F07EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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