#F07FA8#F07FA8

#F07FA8 is a light, vivid pink. Relative luminance 0.365; OKLCH L 73.4% C 0.145 H 358.2°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#F07FA8
RGBrgb(240, 127, 168)
HSLhsl(338, 79%, 72%)
HSVhsv(338, 47%, 94%)
CMYKcmyk(0%, 47.1%, 30%, 5.9%)
CIE-LABlab(66.93, 47.78, -1.94)
CIE-LCHlch(66.93, 47.82, 357.67°)
OKLaboklab(73.37% 0.1448 -0.0045)
OKLCHoklch(73.37% 0.145 358.2)
XYZxyz(50.5944, 36.5355, 41.4256)
Luminance0.3653 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FA8 #7FF0C7
analogous
#F07FE1 #F07FA8 #F08F7F
triadic
#F07FA8 #A8F07F #7FA8F0
tetradic
#F07FA8 #E1F07F #7FF0C7 #8F7FF0
square
#F07FA8 #E1F07F #7FF0C7 #8F7FF0
split-complementary
#F07FA8 #7FF08F #7FE1F0
monochromatic
#DB1A60 #EA4883 #F07FA8 #F6B6CD #FCE4EC

Accessibility & contrast

On white

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

On black

8.31
#F07FA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FA8
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FA8#FFFFFF#000000##000000
##F07FA81.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F96A9
Deuteranopia (green-blind)
#ACABA5
Tritanopia (blue-blind)
#FF788E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f07fa8;
/* rgb */ color: rgb(240, 127, 168);
/* oklch */ color: oklch(73.4% 0.145 358.2);
Tailwind
colors: {
  custom: {
    50: '#f8a7c1',
    500: '#f07fa8',
    950: '#000000',
  },
}
SCSS
$custom: #f07fa8;
$custom-light: #f8a7c1;
$custom-dark: #000000;
JSON
{
  "hex": "#f07fa8",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 168
  },
  "hsl": {
    "h": 338.23,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73365,
    "c": 0.14484,
    "h": 358.2
  },
  "luminance": 0.36531
}

Semantic roles & 50–950 ramp

primary
#F07FA8
secondary
#D7F4E9
accent
#DB8F0A
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#181012
muted
#867F81

Preview Lab

Preview with #F07FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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