#F072A2#F072A2

#F072A2 is a light, vivid pink. Relative luminance 0.332; OKLCH L 71.3% C 0.162 H 358.0°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#F072A2
RGBrgb(240, 114, 162)
HSLhsl(337, 81%, 69%)
HSVhsv(337, 53%, 94%)
CMYKcmyk(0%, 52.5%, 32.5%, 5.9%)
CIE-LABlab(64.30, 53.36, -2.39)
CIE-LCHlch(64.30, 53.41, 357.43°)
OKLaboklab(71.33% 0.1622 -0.0056)
OKLCHoklch(71.33% 0.162 358)
XYZxyz(48.4763, 33.1732, 38.0255)
Luminance0.3317 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F072A2 #72F0C0
analogous
#F072E1 #F072A2 #F08172
triadic
#F072A2 #A2F072 #72A2F0
tetradic
#F072A2 #E1F072 #72F0C0 #8172F0
square
#F072A2 #E1F072 #72F0C0 #8172F0
split-complementary
#F072A2 #72F081 #72E1F0
monochromatic
#D1165E #EA3B7E #F072A2 #F6A9C6 #FCE1EB

Accessibility & contrast

On white

2.75
#F072A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#F072A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F072A2
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F072A2#FFFFFF#000000##000000
##F072A21.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#858DA3
Deuteranopia (green-blind)
#A6A59F
Tritanopia (blue-blind)
#FF6984
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #f072a2;
/* rgb */ color: rgb(240, 114, 162);
/* oklch */ color: oklch(71.3% 0.162 358.0);
Tailwind
colors: {
  custom: {
    50: '#f89ebd',
    500: '#f072a2',
    950: '#000000',
  },
}
SCSS
$custom: #f072a2;
$custom-light: #f89ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#f072a2",
  "rgb": {
    "r": 240,
    "g": 114,
    "b": 162
  },
  "hsl": {
    "h": 337.143,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71334,
    "c": 0.16228,
    "h": 358
  },
  "luminance": 0.33169
}

Semantic roles & 50–950 ramp

primary
#F072A2
secondary
#CDF1E3
accent
#DD8C08
background
#FFFAFB
surface
#FFF3F6
border
#D7CDD0
text
#180F12
muted
#867F81

Preview Lab

Preview with #F072A2

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

Preview Lab → · Contrast checker → · Palette generator →

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