#F072CC#F072CC

#F072CC is a light, vivid pink. Relative luminance 0.349; OKLCH L 72.8% C 0.186 H 339.6°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#F072CC
RGBrgb(240, 114, 204)
HSLhsl(317, 81%, 69%)
HSVhsv(317, 53%, 94%)
CMYKcmyk(0%, 52.5%, 15%, 5.9%)
CIE-LABlab(65.69, 59.05, -24.10)
CIE-LCHlch(65.69, 63.78, 337.80°)
OKLaboklab(72.83% 0.174 -0.0647)
OKLCHoklch(72.83% 0.186 339.6)
XYZxyz(52.8523, 34.9236, 61.0723)
Luminance0.3492 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F072CC #72F096
analogous
#D572F0 #F072CC #F0728D
triadic
#F072CC #CCF072 #72CCF0
tetradic
#F072CC #F0D572 #72F096 #728DF0
square
#F072CC #F0D572 #72F096 #728DF0
split-complementary
#F072CC #8DF072 #72F0D5
monochromatic
#D1169C #EA3BB8 #F072CC #F6A9E0 #FCE1F4

Accessibility & contrast

On white

2.63
#F072CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#F072CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F072CC
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F072CC#FFFFFF#000000##000000
##F072CC1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7793CF
Deuteranopia (green-blind)
#9BA7C9
Tritanopia (blue-blind)
#FC7596
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f072cc;
/* rgb */ color: rgb(240, 114, 204);
/* oklch */ color: oklch(72.8% 0.186 339.6);
Tailwind
colors: {
  custom: {
    50: '#f89fdb',
    500: '#f072cc',
    950: '#000000',
  },
}
SCSS
$custom: #f072cc;
$custom-light: #f89fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#f072cc",
  "rgb": {
    "r": 240,
    "g": 114,
    "b": 204
  },
  "hsl": {
    "h": 317.143,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72826,
    "c": 0.18558,
    "h": 339.6
  },
  "luminance": 0.3492
}

Semantic roles & 50–950 ramp

primary
#F072CC
secondary
#CDF1D7
accent
#DD4508
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F072CC

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

Preview Lab → · Contrast checker → · Palette generator →

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