#F072D2#F072D2

#F072D2 is a light, vivid pink. Relative luminance 0.352; OKLCH L 73.1% C 0.190 H 337.4°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#F072D2
RGBrgb(240, 114, 210)
HSLhsl(314, 81%, 69%)
HSVhsv(314, 53%, 94%)
CMYKcmyk(0%, 52.5%, 12.5%, 5.9%)
CIE-LABlab(65.92, 59.96, -27.11)
CIE-LCHlch(65.92, 65.81, 335.67°)
OKLaboklab(73.07% 0.1753 -0.0731)
OKLCHoklch(73.07% 0.19 337.4)
XYZxyz(53.5858, 35.2170, 64.9355)
Luminance0.3521 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F072D2 #72F090
analogous
#CF72F0 #F072D2 #F07293
triadic
#F072D2 #D2F072 #72D2F0
tetradic
#F072D2 #F0CF72 #72F090 #7293F0
square
#F072D2 #F0CF72 #72F090 #7293F0
split-complementary
#F072D2 #93F072 #72F0CF
monochromatic
#D116A5 #EA3BC0 #F072D2 #F6A9E4 #FCE1F5

Accessibility & contrast

On white

2.61
#F072D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#F072D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F072D2
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F072D2#FFFFFF#000000##000000
##F072D21.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7594D5
Deuteranopia (green-blind)
#99A7CF
Tritanopia (blue-blind)
#FB7799
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f072d2;
/* rgb */ color: rgb(240, 114, 210);
/* oklch */ color: oklch(73.1% 0.190 337.4);
Tailwind
colors: {
  custom: {
    50: '#f89fe0',
    500: '#f072d2',
    950: '#000000',
  },
}
SCSS
$custom: #f072d2;
$custom-light: #f89fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#f072d2",
  "rgb": {
    "r": 240,
    "g": 114,
    "b": 210
  },
  "hsl": {
    "h": 314.286,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.7307,
    "c": 0.1899,
    "h": 337.4
  },
  "luminance": 0.35213
}

Semantic roles & 50–950 ramp

primary
#F072D2
secondary
#CDF1D5
accent
#DD3B08
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F072D2

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

Preview Lab → · Contrast checker → · Palette generator →

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