#F271DA#F271DA

#F271DA is a light, vivid pink. Relative luminance 0.357; OKLCH L 73.5% C 0.199 H 335.1°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#F271DA
RGBrgb(242, 113, 218)
HSLhsl(311, 83%, 70%)
HSVhsv(311, 53%, 95%)
CMYKcmyk(0%, 53.3%, 9.9%, 5.1%)
CIE-LABlab(66.33, 62.23, -30.92)
CIE-LCHlch(66.33, 69.49, 333.58°)
OKLaboklab(73.54% 0.1803 -0.0838)
OKLCHoklch(73.54% 0.199 335.1)
XYZxyz(55.1782, 35.7534, 70.3109)
Luminance0.3575 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F271DA #71F289
analogous
#CA71F2 #F271DA #F2719A
triadic
#F271DA #DAF271 #71DAF2
tetradic
#F271DA #F2CA71 #71F289 #719AF2
square
#F271DA #F2CA71 #71F289 #719AF2
split-complementary
#F271DA #9AF271 #71F2CA
monochromatic
#D514B1 #ED39CB #F271DA #F7A9E9 #FCE1F7

Accessibility & contrast

On white

2.58
#F271DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#F271DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F271DA
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F271DA#FFFFFF#000000##000000
##F271DA1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7195DD
Deuteranopia (green-blind)
#97A8D6
Tritanopia (blue-blind)
#FC789C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f271da;
/* rgb */ color: rgb(242, 113, 218);
/* oklch */ color: oklch(73.5% 0.199 335.1);
Tailwind
colors: {
  custom: {
    50: '#f99fe5',
    500: '#f271da',
    950: '#000000',
  },
}
SCSS
$custom: #f271da;
$custom-light: #f99fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#f271da",
  "rgb": {
    "r": 242,
    "g": 113,
    "b": 218
  },
  "hsl": {
    "h": 311.163,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73535,
    "c": 0.19884,
    "h": 335.1
  },
  "luminance": 0.35749
}

Semantic roles & 50–950 ramp

primary
#F271DA
secondary
#CDF2D4
accent
#E02E06
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F271DA

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

Preview Lab → · Contrast checker → · Palette generator →

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