#F271D0#F271D0

#F271D0 is a light, vivid pink. Relative luminance 0.352; OKLCH L 73.1% C 0.191 H 338.6°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#F271D0
RGBrgb(242, 113, 208)
HSLhsl(316, 83%, 70%)
HSVhsv(316, 53%, 95%)
CMYKcmyk(0%, 53.3%, 14%, 5.1%)
CIE-LABlab(65.94, 60.70, -25.93)
CIE-LCHlch(65.94, 66.00, 336.87°)
OKLaboklab(73.12% 0.1783 -0.0698)
OKLCHoklch(73.12% 0.191 338.6)
XYZxyz(53.9089, 35.2457, 63.6261)
Luminance0.3524 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F271D0 #71F293
analogous
#D471F2 #F271D0 #F27190
triadic
#F271D0 #D0F271 #71D0F2
tetradic
#F271D0 #F2D471 #71F293 #7190F2
square
#F271D0 #F2D471 #71F293 #7190F2
split-complementary
#F271D0 #90F271 #71F2D4
monochromatic
#D514A2 #ED39BD #F271D0 #F7A9E3 #FCE1F5

Accessibility & contrast

On white

2.61
#F271D0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#F271D0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F271D0
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F271D0#FFFFFF#000000##000000
##F271D01.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7694D3
Deuteranopia (green-blind)
#9AA8CD
Tritanopia (blue-blind)
#FE7597
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f271d0;
/* rgb */ color: rgb(242, 113, 208);
/* oklch */ color: oklch(73.1% 0.191 338.6);
Tailwind
colors: {
  custom: {
    50: '#f99fde',
    500: '#f271d0',
    950: '#000000',
  },
}
SCSS
$custom: #f271d0;
$custom-light: #f99fde;
$custom-dark: #000000;
JSON
{
  "hex": "#f271d0",
  "rgb": {
    "r": 242,
    "g": 113,
    "b": 208
  },
  "hsl": {
    "h": 315.814,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73117,
    "c": 0.19146,
    "h": 338.6
  },
  "luminance": 0.35242
}

Semantic roles & 50–950 ramp

primary
#F271D0
secondary
#CDF2D7
accent
#E03F06
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F271D0

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

Preview Lab → · Contrast checker → · Palette generator →

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