#F272DC#F272DC

#F272DC is a light, vivid pink. Relative luminance 0.361; OKLCH L 73.7% C 0.199 H 334.4°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#F272DC
RGBrgb(242, 114, 220)
HSLhsl(310, 83%, 70%)
HSVhsv(310, 53%, 95%)
CMYKcmyk(0%, 52.9%, 9.1%, 5.1%)
CIE-LABlab(66.58, 62.09, -31.64)
CIE-LCHlch(66.58, 69.69, 332.99°)
OKLaboklab(73.75% 0.1793 -0.0859)
OKLCHoklch(73.75% 0.199 334.4)
XYZxyz(55.5537, 36.0831, 71.7350)
Luminance0.3608 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F272DC #72F288
analogous
#C872F2 #F272DC #F2729C
triadic
#F272DC #DCF272 #72DCF2
tetradic
#F272DC #F2C872 #72F288 #729CF2
square
#F272DC #F2C872 #72F288 #729CF2
split-complementary
#F272DC #9CF272 #72F2C8
monochromatic
#D614B5 #ED3ACE #F272DC #F7AAEA #FCE2F8

Accessibility & contrast

On white

2.56
#F272DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#F272DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F272DC
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F272DC#FFFFFF#000000##000000
##F272DC1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7196DF
Deuteranopia (green-blind)
#97A9D8
Tritanopia (blue-blind)
#FC799D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f272dc;
/* rgb */ color: rgb(242, 114, 220);
/* oklch */ color: oklch(73.7% 0.199 334.4);
Tailwind
colors: {
  custom: {
    50: '#f9a0e7',
    500: '#f272dc',
    950: '#000000',
  },
}
SCSS
$custom: #f272dc;
$custom-light: #f9a0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f272dc",
  "rgb": {
    "r": 242,
    "g": 114,
    "b": 220
  },
  "hsl": {
    "h": 310.313,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73748,
    "c": 0.19885,
    "h": 334.4
  },
  "luminance": 0.36079
}

Semantic roles & 50–950 ramp

primary
#F272DC
secondary
#CEF2D4
accent
#E02B06
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F272DC

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

Preview Lab → · Contrast checker → · Palette generator →

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