#F07FA2#F07FA2

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

Color values

HEX#F07FA2
RGBrgb(240, 127, 162)
HSLhsl(341, 79%, 72%)
HSVhsv(341, 47%, 94%)
CMYKcmyk(0%, 47.1%, 32.5%, 5.9%)
CIE-LABlab(66.76, 47.03, 1.21)
CIE-LCHlch(66.76, 47.04, 1.47°)
OKLaboklab(73.19% 0.1427 0.0038)
OKLCHoklch(73.19% 0.143 1.5)
XYZxyz(50.0483, 36.3171, 38.5494)
Luminance0.3631 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FA2 #7FF0CD
analogous
#F07FDB #F07FA2 #F0957F
triadic
#F07FA2 #A2F07F #7FA2F0
tetradic
#F07FA2 #DBF07F #7FF0CD #957FF0
square
#F07FA2 #DBF07F #7FF0CD #957FF0
split-complementary
#F07FA2 #7FF095 #7FDBF0
monochromatic
#DB1A56 #EA487A #F07FA2 #F6B6CA #FCE4EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F07FA2#FFFFFF#000000##000000
##F07FA21.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)
#9195A3
Deuteranopia (green-blind)
#ADAA9F
Tritanopia (blue-blind)
#FF768C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f07fa2;
/* rgb */ color: rgb(240, 127, 162);
/* oklch */ color: oklch(73.2% 0.143 1.5);
Tailwind
colors: {
  custom: {
    50: '#f8a7bd',
    500: '#f07fa2',
    950: '#000000',
  },
}
SCSS
$custom: #f07fa2;
$custom-light: #f8a7bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f07fa2",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 341.416,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73186,
    "c": 0.14277,
    "h": 1.5
  },
  "luminance": 0.36313
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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