#F271F4#F271F4

#F271F4 is a light, highly saturated purple. Relative luminance 0.372; OKLCH L 74.7% C 0.220 H 326.9°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#F271F4
RGBrgb(242, 113, 244)
HSLhsl(299, 86%, 70%)
HSVhsv(299, 54%, 96%)
CMYKcmyk(0.8%, 53.7%, 0%, 4.3%)
CIE-LABlab(67.44, 66.49, -43.59)
CIE-LCHlch(67.44, 79.51, 326.75°)
OKLaboklab(74.72% 0.1842 -0.12)
OKLCHoklch(74.72% 0.22 326.9)
XYZxyz(58.8512, 37.2226, 89.6553)
Luminance0.3722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F271F4 #73F471
analogous
#B171F4 #F271F4 #F471B4
triadic
#F271F4 #F4F271 #71F4F2
tetradic
#F271F4 #F4B171 #73F471 #71B4F4
square
#F271F4 #F4B171 #73F471 #71B4F4
split-complementary
#F271F4 #B4F471 #71F4B1
monochromatic
#D711DA #ED38F0 #F271F4 #F7AAF8 #FCE3FD

Accessibility & contrast

On white

2.49
#F271F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#F271F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F271F4
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F271F4#FFFFFF#000000##000000
##F271F41.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#639AF8
Deuteranopia (green-blind)
#8CAAF0
Tritanopia (blue-blind)
#F880A8
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f271f4;
/* rgb */ color: rgb(242, 113, 244);
/* oklch */ color: oklch(74.7% 0.220 326.9);
Tailwind
colors: {
  custom: {
    50: '#f99ff8',
    500: '#f271f4',
    950: '#000000',
  },
}
SCSS
$custom: #f271f4;
$custom-light: #f99ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#f271f4",
  "rgb": {
    "r": 242,
    "g": 113,
    "b": 244
  },
  "hsl": {
    "h": 299.084,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.74718,
    "c": 0.21988,
    "h": 326.9
  },
  "luminance": 0.37219
}

Semantic roles & 50–950 ramp

primary
#F271F4
secondary
#CFF3CE
accent
#E20307
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F271F4

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

Preview Lab → · Contrast checker → · Palette generator →

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