#F07EC5#F07EC5

#F07EC5 is a light, vivid pink. Relative luminance 0.375; OKLCH L 74.2% C 0.162 H 343.6°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#F07EC5
RGBrgb(240, 126, 197)
HSLhsl(323, 79%, 72%)
HSVhsv(323, 48%, 94%)
CMYKcmyk(0%, 47.5%, 17.9%, 5.9%)
CIE-LABlab(67.64, 52.26, -17.20)
CIE-LCHlch(67.64, 55.02, 341.78°)
OKLaboklab(74.2% 0.1551 -0.0456)
OKLCHoklch(74.2% 0.162 343.6)
XYZxyz(53.4750, 37.4822, 57.2308)
Luminance0.3748 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07EC5 #7EF0A9
analogous
#E27EF0 #F07EC5 #F07E8C
triadic
#F07EC5 #C5F07E #7EC5F0
tetradic
#F07EC5 #F0E27E #7EF0A9 #7E8CF0
square
#F07EC5 #F0E27E #7EF0A9 #7E8CF0
split-complementary
#F07EC5 #8CF07E #7EF0E2
monochromatic
#DA1991 #EA47AC #F07EC5 #F6B5DE #FCE4F3

Accessibility & contrast

On white

2.47
#F07EC5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#F07EC5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07EC5
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07EC5#FFFFFF#000000##000000
##F07EC51.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8699C7
Deuteranopia (green-blind)
#A4ACC2
Tritanopia (blue-blind)
#FD7E99
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f07ec5;
/* rgb */ color: rgb(240, 126, 197);
/* oklch */ color: oklch(74.2% 0.162 343.6);
Tailwind
colors: {
  custom: {
    50: '#f7a6d6',
    500: '#f07ec5',
    950: '#000000',
  },
}
SCSS
$custom: #f07ec5;
$custom-light: #f7a6d6;
$custom-dark: #000000;
JSON
{
  "hex": "#f07ec5",
  "rgb": {
    "r": 240,
    "g": 126,
    "b": 197
  },
  "hsl": {
    "h": 322.632,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.74197,
    "c": 0.1617,
    "h": 343.6
  },
  "luminance": 0.37478
}

Semantic roles & 50–950 ramp

primary
#F07EC5
secondary
#D6F3E1
accent
#DB590A
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#171014
muted
#857F83

Preview Lab

Preview with #F07EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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