#F271E8#F271E8

#F271E8 is a light, highly saturated purple. Relative luminance 0.365; OKLCH L 74.2% C 0.210 H 330.5°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#F271E8
RGBrgb(242, 113, 232)
HSLhsl(305, 83%, 70%)
HSVhsv(305, 53%, 95%)
CMYKcmyk(0%, 53.3%, 4.1%, 5.1%)
CIE-LABlab(66.91, 64.48, -37.79)
CIE-LCHlch(66.91, 74.74, 329.62°)
OKLaboklab(74.16% 0.1827 -0.1034)
OKLCHoklch(74.16% 0.21 330.5)
XYZxyz(57.0881, 36.5174, 80.3699)
Luminance0.3651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F271E8 #71F27B
analogous
#BC71F2 #F271E8 #F271A8
triadic
#F271E8 #E8F271 #71E8F2
tetradic
#F271E8 #F2BC71 #71F27B #71A8F2
square
#F271E8 #F2BC71 #71F27B #71A8F2
split-complementary
#F271E8 #A8F271 #71F2BC
monochromatic
#D514C6 #ED39DF #F271E8 #F7A9F1 #FCE1FA

Accessibility & contrast

On white

2.53
#F271E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#F271E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F271E8
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F271E8#FFFFFF#000000##000000
##F271E81.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A97EC
Deuteranopia (green-blind)
#91A9E4
Tritanopia (blue-blind)
#FA7CA2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f271e8;
/* rgb */ color: rgb(242, 113, 232);
/* oklch */ color: oklch(74.2% 0.210 330.5);
Tailwind
colors: {
  custom: {
    50: '#f99fef',
    500: '#f271e8',
    950: '#000000',
  },
}
SCSS
$custom: #f271e8;
$custom-light: #f99fef;
$custom-dark: #000000;
JSON
{
  "hex": "#f271e8",
  "rgb": {
    "r": 242,
    "g": 113,
    "b": 232
  },
  "hsl": {
    "h": 304.651,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74155,
    "c": 0.20989,
    "h": 330.5
  },
  "luminance": 0.36514
}

Semantic roles & 50–950 ramp

primary
#F271E8
secondary
#CDF2D0
accent
#E01706
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F271E8

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

Preview Lab → · Contrast checker → · Palette generator →

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