#F07FAB#F07FAB

#F07FAB is a light, vivid pink. Relative luminance 0.366; OKLCH L 73.5% C 0.146 H 356.6°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#F07FAB
RGBrgb(240, 127, 171)
HSLhsl(337, 79%, 72%)
HSVhsv(337, 47%, 94%)
CMYKcmyk(0%, 47.1%, 28.8%, 5.9%)
CIE-LABlab(67.01, 48.16, -3.51)
CIE-LCHlch(67.01, 48.29, 355.83°)
OKLaboklab(73.46% 0.1458 -0.0086)
OKLCHoklch(73.46% 0.146 356.6)
XYZxyz(50.8771, 36.6486, 42.9145)
Luminance0.3664 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FAB #7FF0C4
analogous
#F07FE4 #F07FAB #F08C7F
triadic
#F07FAB #ABF07F #7FABF0
tetradic
#F07FAB #E4F07F #7FF0C4 #8C7FF0
square
#F07FAB #E4F07F #7FF0C4 #8C7FF0
split-complementary
#F07FAB #7FF08C #7FE4F0
monochromatic
#DB1A65 #EA4887 #F07FAB #F6B6CF #FCE4ED

Accessibility & contrast

On white

2.52
#F07FAB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#F07FAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FAB
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FAB#FFFFFF#000000##000000
##F07FAB1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f07fab;
/* rgb */ color: rgb(240, 127, 171);
/* oklch */ color: oklch(73.5% 0.146 356.6);
Tailwind
colors: {
  custom: {
    50: '#f8a7c4',
    500: '#f07fab',
    950: '#000000',
  },
}
SCSS
$custom: #f07fab;
$custom-light: #f8a7c4;
$custom-dark: #000000;
JSON
{
  "hex": "#f07fab",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 171
  },
  "hsl": {
    "h": 336.637,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73458,
    "c": 0.14603,
    "h": 356.6
  },
  "luminance": 0.36644
}

Semantic roles & 50–950 ramp

primary
#F07FAB
secondary
#D7F4E9
accent
#DB8A0A
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#181012
muted
#867F81

Preview Lab

Preview with #F07FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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