#F271C7#F271C7

#F271C7 is a light, vivid pink. Relative luminance 0.348; OKLCH L 72.8% C 0.185 H 342.1°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#F271C7
RGBrgb(242, 113, 199)
HSLhsl(320, 83%, 70%)
HSVhsv(320, 53%, 95%)
CMYKcmyk(0%, 53.3%, 17.8%, 5.1%)
CIE-LABlab(65.60, 59.37, -21.39)
CIE-LCHlch(65.60, 63.10, 340.19°)
OKLaboklab(72.76% 0.1763 -0.0571)
OKLCHoklch(72.76% 0.185 342.1)
XYZxyz(52.8329, 34.8153, 57.9592)
Luminance0.3481 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F271C7 #71F29C
analogous
#DD71F2 #F271C7 #F27187
triadic
#F271C7 #C7F271 #71C7F2
tetradic
#F271C7 #F2DD71 #71F29C #7187F2
square
#F271C7 #F2DD71 #71F29C #7187F2
split-complementary
#F271C7 #87F271 #71F2DD
monochromatic
#D51495 #ED39B1 #F271C7 #F7A9DD #FCE1F3

Accessibility & contrast

On white

2.64
#F271C7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#F271C7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F271C7
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F271C7#FFFFFF#000000##000000
##F271C71.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7992CA
Deuteranopia (green-blind)
#9DA7C4
Tritanopia (blue-blind)
#FF7293
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f271c7;
/* rgb */ color: rgb(242, 113, 199);
/* oklch */ color: oklch(72.8% 0.185 342.1);
Tailwind
colors: {
  custom: {
    50: '#f99fd8',
    500: '#f271c7',
    950: '#000000',
  },
}
SCSS
$custom: #f271c7;
$custom-light: #f99fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#f271c7",
  "rgb": {
    "r": 242,
    "g": 113,
    "b": 199
  },
  "hsl": {
    "h": 320,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72759,
    "c": 0.18527,
    "h": 342.1
  },
  "luminance": 0.34811
}

Semantic roles & 50–950 ramp

primary
#F271C7
secondary
#CDF2D9
accent
#E04E06
background
#FFFAFD
surface
#FFF3FA
border
#D7CDD3
text
#180F14
muted
#867F83

Preview Lab

Preview with #F271C7

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

Preview Lab → · Contrast checker → · Palette generator →

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