#F271E6#F271E6

#F271E6 is a light, highly saturated purple. Relative luminance 0.364; OKLCH L 74.1% C 0.208 H 331.1°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#F271E6
RGBrgb(242, 113, 230)
HSLhsl(306, 83%, 70%)
HSVhsv(306, 53%, 95%)
CMYKcmyk(0%, 53.3%, 5%, 5.1%)
CIE-LABlab(66.83, 64.15, -36.82)
CIE-LCHlch(66.83, 73.97, 330.15°)
OKLaboklab(74.06% 0.1824 -0.1006)
OKLCHoklch(74.06% 0.208 331.1)
XYZxyz(56.8057, 36.4044, 78.8823)
Luminance0.3640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F271E6 #71F27D
analogous
#BD71F2 #F271E6 #F271A6
triadic
#F271E6 #E6F271 #71E6F2
tetradic
#F271E6 #F2BD71 #71F27D #71A6F2
square
#F271E6 #F2BD71 #71F27D #71A6F2
split-complementary
#F271E6 #A6F271 #71F2BD
monochromatic
#D514C3 #ED39DC #F271E6 #F7A9F0 #FCE1FA

Accessibility & contrast

On white

2.54
#F271E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#F271E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F271E6
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F271E6#FFFFFF#000000##000000
##F271E61.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B97EA
Deuteranopia (green-blind)
#92A9E2
Tritanopia (blue-blind)
#FB7CA1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f271e6;
/* rgb */ color: rgb(242, 113, 230);
/* oklch */ color: oklch(74.1% 0.208 331.1);
Tailwind
colors: {
  custom: {
    50: '#f99fee',
    500: '#f271e6',
    950: '#000000',
  },
}
SCSS
$custom: #f271e6;
$custom-light: #f99fee;
$custom-dark: #000000;
JSON
{
  "hex": "#f271e6",
  "rgb": {
    "r": 242,
    "g": 113,
    "b": 230
  },
  "hsl": {
    "h": 305.581,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74064,
    "c": 0.20827,
    "h": 331.1
  },
  "luminance": 0.36401
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F271E6

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

Preview Lab → · Contrast checker → · Palette generator →

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