#F072CB#F072CB

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

Color values

HEX#F072CB
RGBrgb(240, 114, 203)
HSLhsl(318, 81%, 69%)
HSVhsv(318, 53%, 94%)
CMYKcmyk(0%, 52.5%, 15.4%, 5.9%)
CIE-LABlab(65.65, 58.90, -23.59)
CIE-LCHlch(65.65, 63.45, 338.17°)
OKLaboklab(72.79% 0.1737 -0.0632)
OKLCHoklch(72.79% 0.185 340)
XYZxyz(52.7328, 34.8757, 60.4427)
Luminance0.3487 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F072CB #72F097
analogous
#D672F0 #F072CB #F0728C
triadic
#F072CB #CBF072 #72CBF0
tetradic
#F072CB #F0D672 #72F097 #728CF0
square
#F072CB #F0D672 #72F097 #728CF0
split-complementary
#F072CB #8CF072 #72F0D6
monochromatic
#D1169A #EA3BB7 #F072CB #F6A9DF #FCE1F4

Accessibility & contrast

On white

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

On black

7.97
#F072CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F072CB
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F072CB#FFFFFF#000000##000000
##F072CB1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7893CE
Deuteranopia (green-blind)
#9BA7C8
Tritanopia (blue-blind)
#FC7595
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f072cb;
/* rgb */ color: rgb(240, 114, 203);
/* oklch */ color: oklch(72.8% 0.185 340.0);
Tailwind
colors: {
  custom: {
    50: '#f89fdb',
    500: '#f072cb',
    950: '#000000',
  },
}
SCSS
$custom: #f072cb;
$custom-light: #f89fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#f072cb",
  "rgb": {
    "r": 240,
    "g": 114,
    "b": 203
  },
  "hsl": {
    "h": 317.619,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72786,
    "c": 0.18488,
    "h": 340
  },
  "luminance": 0.34872
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F072CB

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

Preview Lab → · Contrast checker → · Palette generator →

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