#F07FAC#F07FAC

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

Color values

HEX#F07FAC
RGBrgb(240, 127, 172)
HSLhsl(336, 79%, 72%)
HSVhsv(336, 47%, 94%)
CMYKcmyk(0%, 47.1%, 28.3%, 5.9%)
CIE-LABlab(67.04, 48.29, -4.03)
CIE-LCHlch(67.04, 48.46, 355.22°)
OKLaboklab(73.49% 0.1461 -0.01)
OKLCHoklch(73.49% 0.146 356.1)
XYZxyz(50.9728, 36.6869, 43.4184)
Luminance0.3668 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FAC #7FF0C3
analogous
#F07FE5 #F07FAC #F08B7F
triadic
#F07FAC #ACF07F #7FACF0
tetradic
#F07FAC #E5F07F #7FF0C3 #8B7FF0
square
#F07FAC #E5F07F #7FF0C3 #8B7FF0
split-complementary
#F07FAC #7FF08B #7FE5F0
monochromatic
#DB1A67 #EA4888 #F07FAC #F6B6D0 #FCE4ED

Accessibility & contrast

On white

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

On black

8.34
#F07FAC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FAC
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FAC#FFFFFF#000000##000000
##F07FAC1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E97AD
Deuteranopia (green-blind)
#ABABA9
Tritanopia (blue-blind)
#FF798F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f07fac;
/* rgb */ color: rgb(240, 127, 172);
/* oklch */ color: oklch(73.5% 0.146 356.1);
Tailwind
colors: {
  custom: {
    50: '#f8a7c4',
    500: '#f07fac',
    950: '#000000',
  },
}
SCSS
$custom: #f07fac;
$custom-light: #f8a7c4;
$custom-dark: #000000;
JSON
{
  "hex": "#f07fac",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 336.106,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73489,
    "c": 0.14645,
    "h": 356.1
  },
  "luminance": 0.36683
}

Semantic roles & 50–950 ramp

primary
#F07FAC
secondary
#D7F4E8
accent
#DB880A
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#181012
muted
#867F81

Preview Lab

Preview with #F07FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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