#F271F0#F271F0

#F271F0 is a light, highly saturated purple. Relative luminance 0.370; OKLCH L 74.5% C 0.216 H 328.1°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#F271F0
RGBrgb(242, 113, 240)
HSLhsl(301, 83%, 70%)
HSVhsv(301, 53%, 95%)
CMYKcmyk(0%, 53.3%, 0.8%, 5.1%)
CIE-LABlab(67.26, 65.81, -41.67)
CIE-LCHlch(67.26, 77.89, 327.66°)
OKLaboklab(74.53% 0.1838 -0.1145)
OKLCHoklch(74.53% 0.217 328.1)
XYZxyz(58.2504, 36.9823, 86.4913)
Luminance0.3698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F271F0 #71F273
analogous
#B371F2 #F271F0 #F271B0
triadic
#F271F0 #F0F271 #71F0F2
tetradic
#F271F0 #F2B371 #71F273 #71B0F2
square
#F271F0 #F2B371 #71F273 #71B0F2
split-complementary
#F271F0 #B0F271 #71F2B3
monochromatic
#D514D2 #ED39EA #F271F0 #F7A9F6 #FCE1FC

Accessibility & contrast

On white

2.50
#F271F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#F271F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F271F0
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F271F0#FFFFFF#000000##000000
##F271F01.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6599F4
Deuteranopia (green-blind)
#8EAAEC
Tritanopia (blue-blind)
#F97FA6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f271f0;
/* rgb */ color: rgb(242, 113, 240);
/* oklch */ color: oklch(74.5% 0.216 328.1);
Tailwind
colors: {
  custom: {
    50: '#f99ff5',
    500: '#f271f0',
    950: '#000000',
  },
}
SCSS
$custom: #f271f0;
$custom-light: #f99ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#f271f0",
  "rgb": {
    "r": 242,
    "g": 113,
    "b": 240
  },
  "hsl": {
    "h": 300.93,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74528,
    "c": 0.2165,
    "h": 328.1
  },
  "luminance": 0.36979
}

Semantic roles & 50–950 ramp

primary
#F271F0
secondary
#CDF2CE
accent
#E00906
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#180F17
muted
#867F85

Preview Lab

Preview with #F271F0

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

Preview Lab → · Contrast checker → · Palette generator →

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