#F07EC1#F07EC1

#F07EC1 is a light, vivid pink. Relative luminance 0.373; OKLCH L 74.1% C 0.159 H 345.4°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#F07EC1
RGBrgb(240, 126, 193)
HSLhsl(325, 79%, 72%)
HSVhsv(325, 48%, 94%)
CMYKcmyk(0%, 47.5%, 19.6%, 5.9%)
CIE-LABlab(67.50, 51.68, -15.17)
CIE-LCHlch(67.50, 53.86, 343.65°)
OKLaboklab(74.05% 0.154 -0.04)
OKLCHoklch(74.05% 0.159 345.4)
XYZxyz(53.0228, 37.3013, 54.8490)
Luminance0.3730 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07EC1 #7EF0AD
analogous
#E67EF0 #F07EC1 #F07E88
triadic
#F07EC1 #C1F07E #7EC1F0
tetradic
#F07EC1 #F0E67E #7EF0AD #7E88F0
square
#F07EC1 #F0E67E #7EF0AD #7E88F0
split-complementary
#F07EC1 #88F07E #7EF0E6
monochromatic
#DA198B #EA47A7 #F07EC1 #F6B5DB #FCE4F2

Accessibility & contrast

On white

2.48
#F07EC1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#F07EC1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07EC1
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07EC1#FFFFFF#000000##000000
##F07EC11.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8799C3
Deuteranopia (green-blind)
#A5ABBE
Tritanopia (blue-blind)
#FD7D97
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f07ec1;
/* rgb */ color: rgb(240, 126, 193);
/* oklch */ color: oklch(74.1% 0.159 345.4);
Tailwind
colors: {
  custom: {
    50: '#f7a6d3',
    500: '#f07ec1',
    950: '#000000',
  },
}
SCSS
$custom: #f07ec1;
$custom-light: #f7a6d3;
$custom-dark: #000000;
JSON
{
  "hex": "#f07ec1",
  "rgb": {
    "r": 240,
    "g": 126,
    "b": 193
  },
  "hsl": {
    "h": 324.737,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.74051,
    "c": 0.15914,
    "h": 345.4
  },
  "luminance": 0.37297
}

Semantic roles & 50–950 ramp

primary
#F07EC1
secondary
#D6F3E2
accent
#DB600A
background
#FFFAFC
surface
#FFF4F9
border
#D7CED2
text
#171014
muted
#857F82

Preview Lab

Preview with #F07EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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