#F271F3#F271F3

#F271F3 is a light, highly saturated purple. Relative luminance 0.372; OKLCH L 74.7% C 0.219 H 327.2°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#F271F3
RGBrgb(242, 113, 243)
HSLhsl(300, 84%, 70%)
HSVhsv(300, 53%, 95%)
CMYKcmyk(0.4%, 53.5%, 0%, 4.7%)
CIE-LABlab(67.40, 66.32, -43.11)
CIE-LCHlch(67.40, 79.10, 326.98°)
OKLaboklab(74.67% 0.1841 -0.1186)
OKLCHoklch(74.67% 0.219 327.2)
XYZxyz(58.6998, 37.1620, 88.8578)
Luminance0.3716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F271F3 #72F371
analogous
#B171F3 #F271F3 #F371B3
triadic
#F271F3 #F3F271 #71F3F2
tetradic
#F271F3 #F3B171 #72F371 #71B3F3
square
#F271F3 #F3B171 #72F371 #71B3F3
split-complementary
#F271F3 #B3F371 #71F3B1
monochromatic
#D612D7 #ED39EE #F271F3 #F7A9F8 #FCE2FD

Accessibility & contrast

On white

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

On black

8.43
#F271F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F271F3
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F271F3#FFFFFF#000000##000000
##F271F31.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6399F7
Deuteranopia (green-blind)
#8CAAEF
Tritanopia (blue-blind)
#F880A8
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f271f3;
/* rgb */ color: rgb(242, 113, 243);
/* oklch */ color: oklch(74.7% 0.219 327.2);
Tailwind
colors: {
  custom: {
    50: '#f99ff7',
    500: '#f271f3',
    950: '#000000',
  },
}
SCSS
$custom: #f271f3;
$custom-light: #f99ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#f271f3",
  "rgb": {
    "r": 242,
    "g": 113,
    "b": 243
  },
  "hsl": {
    "h": 299.538,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.7467,
    "c": 0.21903,
    "h": 327.2
  },
  "luminance": 0.37159
}

Semantic roles & 50–950 ramp

primary
#F271F3
secondary
#CEF2CE
accent
#E10506
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F271F3

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

Preview Lab → · Contrast checker → · Palette generator →

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