#F271CF#F271CF

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

Color values

HEX#F271CF
RGBrgb(242, 113, 207)
HSLhsl(316, 83%, 70%)
HSVhsv(316, 53%, 95%)
CMYKcmyk(0%, 53.3%, 14.5%, 5.1%)
CIE-LABlab(65.90, 60.55, -25.43)
CIE-LCHlch(65.90, 65.67, 337.22°)
OKLaboklab(73.08% 0.1781 -0.0684)
OKLCHoklch(73.08% 0.191 339)
XYZxyz(53.7863, 35.1966, 62.9802)
Luminance0.3519 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F271CF #71F294
analogous
#D571F2 #F271CF #F2718F
triadic
#F271CF #CFF271 #71CFF2
tetradic
#F271CF #F2D571 #71F294 #718FF2
square
#F271CF #F2D571 #71F294 #718FF2
split-complementary
#F271CF #8FF271 #71F2D5
monochromatic
#D514A1 #ED39BC #F271CF #F7A9E2 #FCE1F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F271CF#FFFFFF#000000##000000
##F271CF1.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)
#7693D2
Deuteranopia (green-blind)
#9BA8CC
Tritanopia (blue-blind)
#FE7497
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f271cf;
/* rgb */ color: rgb(242, 113, 207);
/* oklch */ color: oklch(73.1% 0.191 339.0);
Tailwind
colors: {
  custom: {
    50: '#f99fde',
    500: '#f271cf',
    950: '#000000',
  },
}
SCSS
$custom: #f271cf;
$custom-light: #f99fde;
$custom-dark: #000000;
JSON
{
  "hex": "#f271cf",
  "rgb": {
    "r": 242,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 316.279,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73076,
    "c": 0.19075,
    "h": 339
  },
  "luminance": 0.35192
}

Semantic roles & 50–950 ramp

primary
#F271CF
secondary
#CDF2D7
accent
#E04106
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F271CF

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

Preview Lab → · Contrast checker → · Palette generator →

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