#F271F2#F271F2

#F271F2 is a light, highly saturated purple. Relative luminance 0.371; OKLCH L 74.6% C 0.218 H 327.5°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#F271F2
RGBrgb(242, 113, 242)
HSLhsl(300, 83%, 70%)
HSVhsv(300, 53%, 95%)
CMYKcmyk(0%, 53.3%, 0%, 5.1%)
CIE-LABlab(67.35, 66.15, -42.63)
CIE-LCHlch(67.35, 78.70, 327.20°)
OKLaboklab(74.62% 0.184 -0.1173)
OKLCHoklch(74.62% 0.218 327.5)
XYZxyz(58.5492, 37.1018, 88.0646)
Luminance0.3710 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F271F2 #71F271
analogous
#B271F2 #F271F2 #F271B2
triadic
#F271F2 #F2F271 #71F2F2
tetradic
#F271F2 #F2B271 #71F271 #71B2F2
square
#F271F2 #F2B271 #71F271 #71B2F2
split-complementary
#F271F2 #B2F271 #71F2B2
monochromatic
#D514D5 #ED39ED #F271F2 #F7A9F7 #FCE1FC

Accessibility & contrast

On white

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

On black

8.42
#F271F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F271F2
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F271F2#FFFFFF#000000##000000
##F271F21.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6499F6
Deuteranopia (green-blind)
#8DAAEE
Tritanopia (blue-blind)
#F980A7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f271f2;
/* rgb */ color: rgb(242, 113, 242);
/* oklch */ color: oklch(74.6% 0.218 327.5);
Tailwind
colors: {
  custom: {
    50: '#f99ff7',
    500: '#f271f2',
    950: '#000000',
  },
}
SCSS
$custom: #f271f2;
$custom-light: #f99ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#f271f2",
  "rgb": {
    "r": 242,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 300,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74623,
    "c": 0.21818,
    "h": 327.5
  },
  "luminance": 0.37098
}

Semantic roles & 50–950 ramp

primary
#F271F2
secondary
#CDF2CD
accent
#E00606
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#180F17
muted
#867F85

Preview Lab

Preview with #F271F2

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

Preview Lab → · Contrast checker → · Palette generator →

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