#F271CE#F271CE

#F271CE is a light, vivid pink. Relative luminance 0.351; OKLCH L 73.0% C 0.190 H 339.4°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#F271CE
RGBrgb(242, 113, 206)
HSLhsl(317, 83%, 70%)
HSVhsv(317, 53%, 95%)
CMYKcmyk(0%, 53.3%, 14.9%, 5.1%)
CIE-LABlab(65.86, 60.40, -24.93)
CIE-LCHlch(65.86, 65.34, 337.57°)
OKLaboklab(73.04% 0.1779 -0.0669)
OKLCHoklch(73.04% 0.19 339.4)
XYZxyz(53.6644, 35.1479, 62.3383)
Luminance0.3514 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F271CE #71F295
analogous
#D571F2 #F271CE #F2718E
triadic
#F271CE #CEF271 #71CEF2
tetradic
#F271CE #F2D571 #71F295 #718EF2
square
#F271CE #F2D571 #71F295 #718EF2
split-complementary
#F271CE #8EF271 #71F2D5
monochromatic
#D5149F #ED39BB #F271CE #F7A9E1 #FCE1F5

Accessibility & contrast

On white

2.62
#F271CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#F271CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F271CE
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F271CE#FFFFFF#000000##000000
##F271CE1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7693D1
Deuteranopia (green-blind)
#9BA8CB
Tritanopia (blue-blind)
#FE7496
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f271ce;
/* rgb */ color: rgb(242, 113, 206);
/* oklch */ color: oklch(73.0% 0.190 339.4);
Tailwind
colors: {
  custom: {
    50: '#f99fdd',
    500: '#f271ce',
    950: '#000000',
  },
}
SCSS
$custom: #f271ce;
$custom-light: #f99fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#f271ce",
  "rgb": {
    "r": 242,
    "g": 113,
    "b": 206
  },
  "hsl": {
    "h": 316.744,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73036,
    "c": 0.19004,
    "h": 339.4
  },
  "luminance": 0.35144
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F271CE

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

Preview Lab → · Contrast checker → · Palette generator →

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