#F07FA3#F07FA3

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

Color values

HEX#F07FA3
RGBrgb(240, 127, 163)
HSLhsl(341, 79%, 72%)
HSVhsv(341, 47%, 94%)
CMYKcmyk(0%, 47.1%, 32.1%, 5.9%)
CIE-LABlab(66.79, 47.15, 0.68)
CIE-LCHlch(66.79, 47.15, 0.83°)
OKLaboklab(73.22% 0.1431 0.0024)
OKLCHoklch(73.22% 0.143 1)
XYZxyz(50.1375, 36.3528, 39.0194)
Luminance0.3635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FA3 #7FF0CC
analogous
#F07FDC #F07FA3 #F0947F
triadic
#F07FA3 #A3F07F #7FA3F0
tetradic
#F07FA3 #DCF07F #7FF0CC #947FF0
square
#F07FA3 #DCF07F #7FF0CC #947FF0
split-complementary
#F07FA3 #7FF094 #7FDCF0
monochromatic
#DB1A57 #EA487C #F07FA3 #F6B6CA #FCE4EB

Accessibility & contrast

On white

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

On black

8.27
#F07FA3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FA3
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FA3#FFFFFF#000000##000000
##F07FA31.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9196A4
Deuteranopia (green-blind)
#ADAAA0
Tritanopia (blue-blind)
#FF778C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f07fa3;
/* rgb */ color: rgb(240, 127, 163);
/* oklch */ color: oklch(73.2% 0.143 1.0);
Tailwind
colors: {
  custom: {
    50: '#f8a7be',
    500: '#f07fa3',
    950: '#000000',
  },
}
SCSS
$custom: #f07fa3;
$custom-light: #f8a7be;
$custom-dark: #000000;
JSON
{
  "hex": "#f07fa3",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 163
  },
  "hsl": {
    "h": 340.885,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73215,
    "c": 0.14309,
    "h": 1
  },
  "luminance": 0.36348
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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