#F271C5#F271C5

#F271C5 is a light, vivid pink. Relative luminance 0.347; OKLCH L 72.7% C 0.184 H 342.8°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#F271C5
RGBrgb(242, 113, 197)
HSLhsl(321, 83%, 70%)
HSVhsv(321, 53%, 95%)
CMYKcmyk(0%, 53.3%, 18.6%, 5.1%)
CIE-LABlab(65.53, 59.08, -20.37)
CIE-LCHlch(65.53, 62.49, 340.97°)
OKLaboklab(72.68% 0.1758 -0.0543)
OKLCHoklch(72.68% 0.184 342.8)
XYZxyz(52.6022, 34.7230, 56.7443)
Luminance0.3472 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F271C5 #71F29E
analogous
#DE71F2 #F271C5 #F27185
triadic
#F271C5 #C5F271 #71C5F2
tetradic
#F271C5 #F2DE71 #71F29E #7185F2
square
#F271C5 #F2DE71 #71F29E #7185F2
split-complementary
#F271C5 #85F271 #71F2DE
monochromatic
#D51492 #ED39AE #F271C5 #F7A9DC #FCE1F3

Accessibility & contrast

On white

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

On black

7.94
#F271C5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F271C5
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F271C5#FFFFFF#000000##000000
##F271C51.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A92C8
Deuteranopia (green-blind)
#9EA7C2
Tritanopia (blue-blind)
#FF7192
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f271c5;
/* rgb */ color: rgb(242, 113, 197);
/* oklch */ color: oklch(72.7% 0.184 342.8);
Tailwind
colors: {
  custom: {
    50: '#f99fd6',
    500: '#f271c5',
    950: '#000000',
  },
}
SCSS
$custom: #f271c5;
$custom-light: #f99fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#f271c5",
  "rgb": {
    "r": 242,
    "g": 113,
    "b": 197
  },
  "hsl": {
    "h": 320.93,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72681,
    "c": 0.18395,
    "h": 342.8
  },
  "luminance": 0.34719
}

Semantic roles & 50–950 ramp

primary
#F271C5
secondary
#CDF2DA
accent
#E05206
background
#FFFAFD
surface
#FFF3FA
border
#D7CDD3
text
#180F14
muted
#867F83

Preview Lab

Preview with #F271C5

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

Preview Lab → · Contrast checker → · Palette generator →

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