#F272DB#F272DB

#F272DB is a light, vivid pink. Relative luminance 0.360; OKLCH L 73.7% C 0.198 H 334.8°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#F272DB
RGBrgb(242, 114, 219)
HSLhsl(311, 83%, 70%)
HSVhsv(311, 53%, 95%)
CMYKcmyk(0%, 52.9%, 9.5%, 5.1%)
CIE-LABlab(66.54, 61.93, -31.15)
CIE-LCHlch(66.54, 69.32, 333.30°)
OKLaboklab(73.71% 0.1792 -0.0845)
OKLCHoklch(73.71% 0.198 334.8)
XYZxyz(55.4216, 36.0302, 71.0396)
Luminance0.3603 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F272DB #72F289
analogous
#C972F2 #F272DB #F2729B
triadic
#F272DB #DBF272 #72DBF2
tetradic
#F272DB #F2C972 #72F289 #729BF2
square
#F272DB #F2C972 #72F289 #729BF2
split-complementary
#F272DB #9BF272 #72F2C9
monochromatic
#D614B3 #ED3ACD #F272DB #F7AAE9 #FCE2F8

Accessibility & contrast

On white

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

On black

8.21
#F272DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F272DB
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F272DB#FFFFFF#000000##000000
##F272DB1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7296DE
Deuteranopia (green-blind)
#97A9D7
Tritanopia (blue-blind)
#FC799D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f272db;
/* rgb */ color: rgb(242, 114, 219);
/* oklch */ color: oklch(73.7% 0.198 334.8);
Tailwind
colors: {
  custom: {
    50: '#f9a0e6',
    500: '#f272db',
    950: '#000000',
  },
}
SCSS
$custom: #f272db;
$custom-light: #f9a0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f272db",
  "rgb": {
    "r": 242,
    "g": 114,
    "b": 219
  },
  "hsl": {
    "h": 310.781,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73705,
    "c": 0.19808,
    "h": 334.8
  },
  "luminance": 0.36026
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F272DB

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

Preview Lab → · Contrast checker → · Palette generator →

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