#F271E2#F271E2

#F271E2 is a light, highly saturated purple. Relative luminance 0.362; OKLCH L 73.9% C 0.205 H 332.4°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#F271E2
RGBrgb(242, 113, 226)
HSLhsl(307, 83%, 70%)
HSVhsv(307, 53%, 95%)
CMYKcmyk(0%, 53.3%, 6.6%, 5.1%)
CIE-LABlab(66.66, 63.50, -34.86)
CIE-LCHlch(66.66, 72.44, 331.23°)
OKLaboklab(73.89% 0.1817 -0.095)
OKLCHoklch(73.89% 0.205 332.4)
XYZxyz(56.2504, 36.1823, 75.9579)
Luminance0.3618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F271E2 #71F281
analogous
#C271F2 #F271E2 #F271A2
triadic
#F271E2 #E2F271 #71E2F2
tetradic
#F271E2 #F2C271 #71F281 #71A2F2
square
#F271E2 #F2C271 #71F281 #71A2F2
split-complementary
#F271E2 #A2F271 #71F2C2
monochromatic
#D514BD #ED39D7 #F271E2 #F7A9ED #FCE1F9

Accessibility & contrast

On white

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

On black

8.24
#F271E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F271E2
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F271E2#FFFFFF#000000##000000
##F271E21.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D96E6
Deuteranopia (green-blind)
#94A9DE
Tritanopia (blue-blind)
#FB7AA0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f271e2;
/* rgb */ color: rgb(242, 113, 226);
/* oklch */ color: oklch(73.9% 0.205 332.4);
Tailwind
colors: {
  custom: {
    50: '#f99feb',
    500: '#f271e2',
    950: '#000000',
  },
}
SCSS
$custom: #f271e2;
$custom-light: #f99feb;
$custom-dark: #000000;
JSON
{
  "hex": "#f271e2",
  "rgb": {
    "r": 242,
    "g": 113,
    "b": 226
  },
  "hsl": {
    "h": 307.442,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73885,
    "c": 0.20506,
    "h": 332.4
  },
  "luminance": 0.36178
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F271E2

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

Preview Lab → · Contrast checker → · Palette generator →

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