#F07FA4#F07FA4

#F07FA4 is a light, vivid pink. Relative luminance 0.364; OKLCH L 73.2% C 0.143 H 0.4°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#F07FA4
RGBrgb(240, 127, 164)
HSLhsl(340, 79%, 72%)
HSVhsv(340, 47%, 94%)
CMYKcmyk(0%, 47.1%, 31.7%, 5.9%)
CIE-LABlab(66.82, 47.27, 0.15)
CIE-LCHlch(66.82, 47.27, 0.19°)
OKLaboklab(73.25% 0.1434 0.001)
OKLCHoklch(73.25% 0.143 0.4)
XYZxyz(50.2275, 36.3888, 39.4932)
Luminance0.3638 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FA4 #7FF0CB
analogous
#F07FDD #F07FA4 #F0937F
triadic
#F07FA4 #A4F07F #7FA4F0
tetradic
#F07FA4 #DDF07F #7FF0CB #937FF0
square
#F07FA4 #DDF07F #7FF0CB #937FF0
split-complementary
#F07FA4 #7FF093 #7FDDF0
monochromatic
#DB1A59 #EA487D #F07FA4 #F6B6CB #FCE4EC

Accessibility & contrast

On white

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

On black

8.28
#F07FA4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FA4
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FA4#FFFFFF#000000##000000
##F07FA41.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9096A5
Deuteranopia (green-blind)
#ADAAA1
Tritanopia (blue-blind)
#FF778C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f07fa4;
/* rgb */ color: rgb(240, 127, 164);
/* oklch */ color: oklch(73.2% 0.143 0.4);
Tailwind
colors: {
  custom: {
    50: '#f8a7be',
    500: '#f07fa4',
    950: '#000000',
  },
}
SCSS
$custom: #f07fa4;
$custom-light: #f8a7be;
$custom-dark: #000000;
JSON
{
  "hex": "#f07fa4",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 164
  },
  "hsl": {
    "h": 340.354,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73245,
    "c": 0.14341,
    "h": 0.4
  },
  "luminance": 0.36384
}

Semantic roles & 50–950 ramp

primary
#F07FA4
secondary
#D7F4EA
accent
#DB970A
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#181012
muted
#867F81

Preview Lab

Preview with #F07FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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