#F07FB2#F07FB2

#F07FB2 is a light, vivid pink. Relative luminance 0.369; OKLCH L 73.7% C 0.149 H 352.9°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#F07FB2
RGBrgb(240, 127, 178)
HSLhsl(333, 79%, 72%)
HSVhsv(333, 47%, 94%)
CMYKcmyk(0%, 47.1%, 25.8%, 5.9%)
CIE-LABlab(67.22, 49.09, -7.16)
CIE-LCHlch(67.22, 49.60, 351.71°)
OKLaboklab(73.68% 0.148 -0.0183)
OKLCHoklch(73.68% 0.149 352.9)
XYZxyz(51.5621, 36.9226, 46.5220)
Luminance0.3692 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FB2 #7FF0BD
analogous
#F07FEB #F07FB2 #F0857F
triadic
#F07FB2 #B2F07F #7FB2F0
tetradic
#F07FB2 #EBF07F #7FF0BD #857FF0
square
#F07FB2 #EBF07F #7FF0BD #857FF0
split-complementary
#F07FB2 #7FF085 #7FEBF0
monochromatic
#DB1A71 #EA4891 #F07FB2 #F6B6D3 #FCE4EF

Accessibility & contrast

On white

2.50
#F07FB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#F07FB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FB2
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FB2#FFFFFF#000000##000000
##F07FB21.002.508.388.38
#FFFFFF2.501.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D97B4
Deuteranopia (green-blind)
#AAABAF
Tritanopia (blue-blind)
#FF7A92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f07fb2;
/* rgb */ color: rgb(240, 127, 178);
/* oklch */ color: oklch(73.7% 0.149 352.9);
Tailwind
colors: {
  custom: {
    50: '#f7a7c9',
    500: '#f07fb2',
    950: '#000000',
  },
}
SCSS
$custom: #f07fb2;
$custom-light: #f7a7c9;
$custom-dark: #000000;
JSON
{
  "hex": "#f07fb2",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 332.92,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73681,
    "c": 0.14918,
    "h": 352.9
  },
  "luminance": 0.36918
}

Semantic roles & 50–950 ramp

primary
#F07FB2
secondary
#D7F4E7
accent
#DB7D0A
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#181013
muted
#867F82

Preview Lab

Preview with #F07FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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