#F072B2#F072B2

#F072B2 is a light, vivid pink. Relative luminance 0.338; OKLCH L 71.9% C 0.170 H 350.5°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#F072B2
RGBrgb(240, 114, 178)
HSLhsl(330, 81%, 69%)
HSVhsv(330, 53%, 94%)
CMYKcmyk(0%, 52.5%, 25.8%, 5.9%)
CIE-LABlab(64.79, 55.38, -10.78)
CIE-LCHlch(64.79, 56.42, 348.98°)
OKLaboklab(71.86% 0.1672 -0.028)
OKLCHoklch(71.86% 0.17 350.5)
XYZxyz(49.9901, 33.7787, 45.9980)
Luminance0.3377 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F072B2 #72F0B0
analogous
#EF72F0 #F072B2 #F07273
triadic
#F072B2 #B2F072 #72B2F0
tetradic
#F072B2 #F0EF72 #72F0B0 #7273F0
square
#F072B2 #F0EF72 #72F0B0 #7273F0
split-complementary
#F072B2 #73F072 #72F0EF
monochromatic
#D11675 #EA3B94 #F072B2 #F6A9D0 #FCE1EE

Accessibility & contrast

On white

2.71
#F072B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#F072B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F072B2
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F072B2#FFFFFF#000000##000000
##F072B21.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#818FB4
Deuteranopia (green-blind)
#A2A5AF
Tritanopia (blue-blind)
#FF6D8A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f072b2;
/* rgb */ color: rgb(240, 114, 178);
/* oklch */ color: oklch(71.9% 0.170 350.5);
Tailwind
colors: {
  custom: {
    50: '#f89fc9',
    500: '#f072b2',
    950: '#000000',
  },
}
SCSS
$custom: #f072b2;
$custom-light: #f89fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#f072b2",
  "rgb": {
    "r": 240,
    "g": 114,
    "b": 178
  },
  "hsl": {
    "h": 329.524,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71857,
    "c": 0.16951,
    "h": 350.5
  },
  "luminance": 0.33774
}

Semantic roles & 50–950 ramp

primary
#F072B2
secondary
#CDF1DF
accent
#DD7108
background
#FFFAFC
surface
#FFF3F8
border
#D7CDD1
text
#180F13
muted
#867F82

Preview Lab

Preview with #F072B2

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

Preview Lab → · Contrast checker → · Palette generator →

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