#F272CB#F272CB

#F272CB is a light, vivid pink. Relative luminance 0.352; OKLCH L 73.0% C 0.186 H 340.6°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#F272CB
RGBrgb(242, 114, 203)
HSLhsl(318, 83%, 70%)
HSVhsv(318, 53%, 95%)
CMYKcmyk(0%, 52.9%, 16.1%, 5.1%)
CIE-LABlab(65.93, 59.49, -23.15)
CIE-LCHlch(65.93, 63.83, 338.74°)
OKLaboklab(73.05% 0.1758 -0.062)
OKLCHoklch(73.05% 0.186 340.6)
XYZxyz(53.4156, 35.2278, 60.4747)
Luminance0.3522 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F272CB #72F299
analogous
#D972F2 #F272CB #F2728B
triadic
#F272CB #CBF272 #72CBF2
tetradic
#F272CB #F2D972 #72F299 #728BF2
square
#F272CB #F2D972 #72F299 #728BF2
split-complementary
#F272CB #8BF272 #72F2D9
monochromatic
#D6149B #ED3AB6 #F272CB #F7AAE0 #FCE2F4

Accessibility & contrast

On white

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

On black

8.04
#F272CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F272CB
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F272CB#FFFFFF#000000##000000
##F272CB1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7993CE
Deuteranopia (green-blind)
#9DA8C8
Tritanopia (blue-blind)
#FE7495
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f272cb;
/* rgb */ color: rgb(242, 114, 203);
/* oklch */ color: oklch(73.0% 0.186 340.6);
Tailwind
colors: {
  custom: {
    50: '#f99fdb',
    500: '#f272cb',
    950: '#000000',
  },
}
SCSS
$custom: #f272cb;
$custom-light: #f99fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#f272cb",
  "rgb": {
    "r": 242,
    "g": 114,
    "b": 203
  },
  "hsl": {
    "h": 318.281,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73045,
    "c": 0.18643,
    "h": 340.6
  },
  "luminance": 0.35224
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F272CB

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

Preview Lab → · Contrast checker → · Palette generator →

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