#F271DD#F271DD

#F271DD is a light, highly saturated purple. Relative luminance 0.359; OKLCH L 73.7% C 0.201 H 334.0°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#F271DD
RGBrgb(242, 113, 221)
HSLhsl(310, 83%, 70%)
HSVhsv(310, 53%, 95%)
CMYKcmyk(0%, 53.3%, 8.7%, 5.1%)
CIE-LABlab(66.45, 62.70, -32.40)
CIE-LCHlch(66.45, 70.58, 332.67°)
OKLaboklab(73.67% 0.1809 -0.088)
OKLCHoklch(73.67% 0.201 334)
XYZxyz(55.5743, 35.9118, 72.3972)
Luminance0.3591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F271DD #71F286
analogous
#C671F2 #F271DD #F2719D
triadic
#F271DD #DDF271 #71DDF2
tetradic
#F271DD #F2C671 #71F286 #719DF2
square
#F271DD #F2C671 #71F286 #719DF2
split-complementary
#F271DD #9DF271 #71F2C6
monochromatic
#D514B6 #ED39D0 #F271DD #F7A9EA #FCE1F8

Accessibility & contrast

On white

2.57
#F271DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#F271DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F271DD
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F271DD#FFFFFF#000000##000000
##F271DD1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7096E1
Deuteranopia (green-blind)
#96A8D9
Tritanopia (blue-blind)
#FC799D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f271dd;
/* rgb */ color: rgb(242, 113, 221);
/* oklch */ color: oklch(73.7% 0.201 334.0);
Tailwind
colors: {
  custom: {
    50: '#f99fe8',
    500: '#f271dd',
    950: '#000000',
  },
}
SCSS
$custom: #f271dd;
$custom-light: #f99fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#f271dd",
  "rgb": {
    "r": 242,
    "g": 113,
    "b": 221
  },
  "hsl": {
    "h": 309.767,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73665,
    "c": 0.20115,
    "h": 334
  },
  "luminance": 0.35908
}

Semantic roles & 50–950 ramp

primary
#F271DD
secondary
#CDF2D3
accent
#E02906
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F271DD

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

Preview Lab → · Contrast checker → · Palette generator →

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