#F271E1#F271E1

#F271E1 is a light, highly saturated purple. Relative luminance 0.361; OKLCH L 73.8% C 0.204 H 332.7°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#F271E1
RGBrgb(242, 113, 225)
HSLhsl(308, 83%, 70%)
HSVhsv(308, 53%, 95%)
CMYKcmyk(0%, 53.3%, 7%, 5.1%)
CIE-LABlab(66.62, 63.34, -34.37)
CIE-LCHlch(66.62, 72.07, 331.51°)
OKLaboklab(73.84% 0.1816 -0.0936)
OKLCHoklch(73.84% 0.204 332.7)
XYZxyz(56.1136, 36.1275, 75.2374)
Luminance0.3612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F271E1 #71F282
analogous
#C371F2 #F271E1 #F271A1
triadic
#F271E1 #E1F271 #71E1F2
tetradic
#F271E1 #F2C371 #71F282 #71A1F2
square
#F271E1 #F2C371 #71F282 #71A1F2
split-complementary
#F271E1 #A1F271 #71F2C3
monochromatic
#D514BC #ED39D5 #F271E1 #F7A9ED #FCE1F9

Accessibility & contrast

On white

2.55
#F271E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#F271E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F271E1
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F271E1#FFFFFF#000000##000000
##F271E11.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E96E5
Deuteranopia (green-blind)
#94A9DD
Tritanopia (blue-blind)
#FB7A9F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f271e1;
/* rgb */ color: rgb(242, 113, 225);
/* oklch */ color: oklch(73.8% 0.204 332.7);
Tailwind
colors: {
  custom: {
    50: '#f99fea',
    500: '#f271e1',
    950: '#000000',
  },
}
SCSS
$custom: #f271e1;
$custom-light: #f99fea;
$custom-dark: #000000;
JSON
{
  "hex": "#f271e1",
  "rgb": {
    "r": 242,
    "g": 113,
    "b": 225
  },
  "hsl": {
    "h": 307.907,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.7384,
    "c": 0.20428,
    "h": 332.7
  },
  "luminance": 0.36124
}

Semantic roles & 50–950 ramp

primary
#F271E1
secondary
#CDF2D2
accent
#E02306
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F271E1

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

Preview Lab → · Contrast checker → · Palette generator →

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