#F07FA1#F07FA1

#F07FA1 is a light, vivid pink. Relative luminance 0.363; OKLCH L 73.2% C 0.142 H 2.1°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#F07FA1
RGBrgb(240, 127, 161)
HSLhsl(342, 79%, 72%)
HSVhsv(342, 47%, 94%)
CMYKcmyk(0%, 47.1%, 32.9%, 5.9%)
CIE-LABlab(66.73, 46.90, 1.73)
CIE-LCHlch(66.73, 46.94, 2.11°)
OKLaboklab(73.16% 0.1424 0.0051)
OKLCHoklch(73.16% 0.142 2.1)
XYZxyz(49.9598, 36.2817, 38.0832)
Luminance0.3628 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FA1 #7FF0CE
analogous
#F07FDA #F07FA1 #F0967F
triadic
#F07FA1 #A1F07F #7FA1F0
tetradic
#F07FA1 #DAF07F #7FF0CE #967FF0
square
#F07FA1 #DAF07F #7FF0CE #967FF0
split-complementary
#F07FA1 #7FF096 #7FDAF0
monochromatic
#DB1A54 #EA4879 #F07FA1 #F6B6C9 #FCE4EB

Accessibility & contrast

On white

2.54
#F07FA1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#F07FA1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FA1
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FA1#FFFFFF#000000##000000
##F07FA11.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9195A2
Deuteranopia (green-blind)
#AEAA9E
Tritanopia (blue-blind)
#FF768B
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f07fa1;
/* rgb */ color: rgb(240, 127, 161);
/* oklch */ color: oklch(73.2% 0.142 2.1);
Tailwind
colors: {
  custom: {
    50: '#f8a7bc',
    500: '#f07fa1',
    950: '#000000',
  },
}
SCSS
$custom: #f07fa1;
$custom-light: #f8a7bc;
$custom-dark: #000000;
JSON
{
  "hex": "#f07fa1",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 161
  },
  "hsl": {
    "h": 341.947,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73157,
    "c": 0.14246,
    "h": 2.1
  },
  "luminance": 0.36277
}

Semantic roles & 50–950 ramp

primary
#F07FA1
secondary
#D7F4EB
accent
#DB9C0A
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#181012
muted
#867F81

Preview Lab

Preview with #F07FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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