#F07FA7#F07FA7

#F07FA7 is a light, vivid pink. Relative luminance 0.365; OKLCH L 73.3% C 0.144 H 358.8°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#F07FA7
RGBrgb(240, 127, 167)
HSLhsl(339, 79%, 72%)
HSVhsv(339, 47%, 94%)
CMYKcmyk(0%, 47.1%, 30.4%, 5.9%)
CIE-LABlab(66.90, 47.65, -1.42)
CIE-LCHlch(66.90, 47.67, 358.29°)
OKLaboklab(73.33% 0.1444 -0.0031)
OKLCHoklch(73.33% 0.144 358.8)
XYZxyz(50.5016, 36.4984, 40.9369)
Luminance0.3649 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FA7 #7FF0C8
analogous
#F07FE0 #F07FA7 #F0907F
triadic
#F07FA7 #A7F07F #7FA7F0
tetradic
#F07FA7 #E0F07F #7FF0C8 #907FF0
square
#F07FA7 #E0F07F #7FF0C8 #907FF0
split-complementary
#F07FA7 #7FF090 #7FE0F0
monochromatic
#DB1A5E #EA4881 #F07FA7 #F6B6CD #FCE4EC

Accessibility & contrast

On white

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

On black

8.30
#F07FA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FA7
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FA7#FFFFFF#000000##000000
##F07FA71.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9096A8
Deuteranopia (green-blind)
#ACABA4
Tritanopia (blue-blind)
#FF788D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f07fa7;
/* rgb */ color: rgb(240, 127, 167);
/* oklch */ color: oklch(73.3% 0.144 358.8);
Tailwind
colors: {
  custom: {
    50: '#f8a7c1',
    500: '#f07fa7',
    950: '#000000',
  },
}
SCSS
$custom: #f07fa7;
$custom-light: #f8a7c1;
$custom-dark: #000000;
JSON
{
  "hex": "#f07fa7",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 167
  },
  "hsl": {
    "h": 338.761,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73335,
    "c": 0.14447,
    "h": 358.8
  },
  "luminance": 0.36494
}

Semantic roles & 50–950 ramp

primary
#F07FA7
secondary
#D7F4EA
accent
#DB910A
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#181012
muted
#867F81

Preview Lab

Preview with #F07FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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