#F072A8#F072A8

#F072A8 is a light, vivid pink. Relative luminance 0.334; OKLCH L 71.5% C 0.165 H 355.1°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#F072A8
RGBrgb(240, 114, 168)
HSLhsl(334, 81%, 69%)
HSVhsv(334, 53%, 94%)
CMYKcmyk(0%, 52.5%, 30%, 5.9%)
CIE-LABlab(64.48, 54.10, -5.55)
CIE-LCHlch(64.48, 54.38, 354.14°)
OKLaboklab(71.52% 0.1641 -0.014)
OKLCHoklch(71.52% 0.165 355.1)
XYZxyz(49.0224, 33.3916, 40.9016)
Luminance0.3339 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F072A8 #72F0BA
analogous
#F072E7 #F072A8 #F07B72
triadic
#F072A8 #A8F072 #72A8F0
tetradic
#F072A8 #E7F072 #72F0BA #7B72F0
square
#F072A8 #E7F072 #72F0BA #7B72F0
split-complementary
#F072A8 #72F07B #72E7F0
monochromatic
#D11666 #EA3B86 #F072A8 #F6A9CA #FCE1EC

Accessibility & contrast

On white

2.74
#F072A8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#F072A8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F072A8
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F072A8#FFFFFF#000000##000000
##F072A81.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#848EAA
Deuteranopia (green-blind)
#A5A5A5
Tritanopia (blue-blind)
#FF6B86
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #f072a8;
/* rgb */ color: rgb(240, 114, 168);
/* oklch */ color: oklch(71.5% 0.165 355.1);
Tailwind
colors: {
  custom: {
    50: '#f89fc1',
    500: '#f072a8',
    950: '#000000',
  },
}
SCSS
$custom: #f072a8;
$custom-light: #f89fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#f072a8",
  "rgb": {
    "r": 240,
    "g": 114,
    "b": 168
  },
  "hsl": {
    "h": 334.286,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71523,
    "c": 0.16471,
    "h": 355.1
  },
  "luminance": 0.33387
}

Semantic roles & 50–950 ramp

primary
#F072A8
secondary
#CDF1E1
accent
#DD8208
background
#FFFAFB
surface
#FFF3F7
border
#D7CDD0
text
#180F12
muted
#867F81

Preview Lab

Preview with #F072A8

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

Preview Lab → · Contrast checker → · Palette generator →

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