#F271DF#F271DF

#F271DF is a light, highly saturated purple. Relative luminance 0.360; OKLCH L 73.8% C 0.203 H 333.4°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#F271DF
RGBrgb(242, 113, 223)
HSLhsl(309, 83%, 70%)
HSVhsv(309, 53%, 95%)
CMYKcmyk(0%, 53.3%, 7.9%, 5.1%)
CIE-LABlab(66.53, 63.02, -33.39)
CIE-LCHlch(66.53, 71.32, 332.08°)
OKLaboklab(73.75% 0.1812 -0.0908)
OKLCHoklch(73.75% 0.203 333.4)
XYZxyz(55.8424, 36.0191, 73.8089)
Luminance0.3602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F271DF #71F284
analogous
#C471F2 #F271DF #F2719F
triadic
#F271DF #DFF271 #71DFF2
tetradic
#F271DF #F2C471 #71F284 #719FF2
square
#F271DF #F2C471 #71F284 #719FF2
split-complementary
#F271DF #9FF271 #71F2C4
monochromatic
#D514B9 #ED39D2 #F271DF #F7A9EC #FCE1F8

Accessibility & contrast

On white

2.56
#F271DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#F271DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F271DF
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F271DF#FFFFFF#000000##000000
##F271DF1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F96E3
Deuteranopia (green-blind)
#95A9DB
Tritanopia (blue-blind)
#FC7A9E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f271df;
/* rgb */ color: rgb(242, 113, 223);
/* oklch */ color: oklch(73.8% 0.203 333.4);
Tailwind
colors: {
  custom: {
    50: '#f99fe9',
    500: '#f271df',
    950: '#000000',
  },
}
SCSS
$custom: #f271df;
$custom-light: #f99fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#f271df",
  "rgb": {
    "r": 242,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 308.837,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73752,
    "c": 0.2027,
    "h": 333.4
  },
  "luminance": 0.36015
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F271DF

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

Preview Lab → · Contrast checker → · Palette generator →

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