#F07EAC#F07EAC

#F07EAC is a light, vivid pink. Relative luminance 0.364; OKLCH L 73.3% C 0.148 H 355.8°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#F07EAC
RGBrgb(240, 126, 172)
HSLhsl(336, 79%, 72%)
HSVhsv(336, 48%, 94%)
CMYKcmyk(0%, 47.5%, 28.3%, 5.9%)
CIE-LABlab(66.85, 48.79, -4.32)
CIE-LCHlch(66.85, 48.98, 354.94°)
OKLaboklab(73.34% 0.1476 -0.0107)
OKLCHoklch(73.34% 0.148 355.8)
XYZxyz(50.8443, 36.4299, 43.3756)
Luminance0.3643 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07EAC #7EF0C2
analogous
#F07EE5 #F07EAC #F0897E
triadic
#F07EAC #ACF07E #7EACF0
tetradic
#F07EAC #E5F07E #7EF0C2 #897EF0
square
#F07EAC #E5F07E #7EF0C2 #897EF0
split-complementary
#F07EAC #7EF089 #7EE5F0
monochromatic
#DA1967 #EA4789 #F07EAC #F6B5CF #FCE4ED

Accessibility & contrast

On white

2.53
#F07EAC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#F07EAC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07EAC
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07EAC#FFFFFF#000000##000000
##F07EAC1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D96AE
Deuteranopia (green-blind)
#ABAAA9
Tritanopia (blue-blind)
#FF788F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f07eac;
/* rgb */ color: rgb(240, 126, 172);
/* oklch */ color: oklch(73.3% 0.148 355.8);
Tailwind
colors: {
  custom: {
    50: '#f8a6c4',
    500: '#f07eac',
    950: '#000000',
  },
}
SCSS
$custom: #f07eac;
$custom-light: #f8a6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#f07eac",
  "rgb": {
    "r": 240,
    "g": 126,
    "b": 172
  },
  "hsl": {
    "h": 335.789,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73343,
    "c": 0.14801,
    "h": 355.8
  },
  "luminance": 0.36426
}

Semantic roles & 50–950 ramp

primary
#F07EAC
secondary
#D6F3E8
accent
#DB870A
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#181012
muted
#867F81

Preview Lab

Preview with #F07EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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