#F272CC#F272CC

#F272CC is a light, vivid pink. Relative luminance 0.353; OKLCH L 73.1% C 0.187 H 340.2°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#F272CC
RGBrgb(242, 114, 204)
HSLhsl(318, 83%, 70%)
HSVhsv(318, 53%, 95%)
CMYKcmyk(0%, 52.9%, 15.7%, 5.1%)
CIE-LABlab(65.96, 59.64, -23.65)
CIE-LCHlch(65.96, 64.16, 338.37°)
OKLaboklab(73.08% 0.1761 -0.0634)
OKLCHoklch(73.08% 0.187 340.2)
XYZxyz(53.5352, 35.2757, 61.1043)
Luminance0.3527 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F272CC #72F298
analogous
#D872F2 #F272CC #F2728C
triadic
#F272CC #CCF272 #72CCF2
tetradic
#F272CC #F2D872 #72F298 #728CF2
square
#F272CC #F2D872 #72F298 #728CF2
split-complementary
#F272CC #8CF272 #72F2D8
monochromatic
#D6149C #ED3AB8 #F272CC #F7AAE0 #FCE2F5

Accessibility & contrast

On white

2.61
#F272CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#F272CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F272CC
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F272CC#FFFFFF#000000##000000
##F272CC1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7893CF
Deuteranopia (green-blind)
#9CA8C9
Tritanopia (blue-blind)
#FE7496
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f272cc;
/* rgb */ color: rgb(242, 114, 204);
/* oklch */ color: oklch(73.1% 0.187 340.2);
Tailwind
colors: {
  custom: {
    50: '#f99fdb',
    500: '#f272cc',
    950: '#000000',
  },
}
SCSS
$custom: #f272cc;
$custom-light: #f99fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#f272cc",
  "rgb": {
    "r": 242,
    "g": 114,
    "b": 204
  },
  "hsl": {
    "h": 317.813,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73085,
    "c": 0.18712,
    "h": 340.2
  },
  "luminance": 0.35272
}

Semantic roles & 50–950 ramp

primary
#F272CC
secondary
#CEF2D9
accent
#E04706
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F272CC

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

Preview Lab → · Contrast checker → · Palette generator →

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