#F072D7#F072D7

#F072D7 is a light, vivid pink. Relative luminance 0.355; OKLCH L 73.3% C 0.194 H 335.5°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#F072D7
RGBrgb(240, 114, 215)
HSLhsl(312, 81%, 69%)
HSVhsv(312, 53%, 94%)
CMYKcmyk(0%, 52.5%, 10.4%, 5.9%)
CIE-LABlab(66.11, 60.74, -29.60)
CIE-LCHlch(66.11, 67.57, 334.02°)
OKLaboklab(73.28% 0.1763 -0.0801)
OKLCHoklch(73.28% 0.194 335.5)
XYZxyz(54.2185, 35.4700, 68.2675)
Luminance0.3547 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F072D7 #72F08B
analogous
#CA72F0 #F072D7 #F07298
triadic
#F072D7 #D7F072 #72D7F0
tetradic
#F072D7 #F0CA72 #72F08B #7298F0
square
#F072D7 #F0CA72 #72F08B #7298F0
split-complementary
#F072D7 #98F072 #72F0CA
monochromatic
#D116AC #EA3BC7 #F072D7 #F6A9E7 #FCE1F6

Accessibility & contrast

On white

2.59
#F072D7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#F072D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F072D7
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F072D7#FFFFFF#000000##000000
##F072D71.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7395DA
Deuteranopia (green-blind)
#97A8D4
Tritanopia (blue-blind)
#FA789B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f072d7;
/* rgb */ color: rgb(240, 114, 215);
/* oklch */ color: oklch(73.3% 0.194 335.5);
Tailwind
colors: {
  custom: {
    50: '#f89fe3',
    500: '#f072d7',
    950: '#000000',
  },
}
SCSS
$custom: #f072d7;
$custom-light: #f89fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#f072d7",
  "rgb": {
    "r": 240,
    "g": 114,
    "b": 215
  },
  "hsl": {
    "h": 311.905,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73279,
    "c": 0.19364,
    "h": 335.5
  },
  "luminance": 0.35466
}

Semantic roles & 50–950 ramp

primary
#F072D7
secondary
#CDF1D4
accent
#DD3308
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F072D7

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

Preview Lab → · Contrast checker → · Palette generator →

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