#F271D2#F271D2

#F271D2 is a light, vivid pink. Relative luminance 0.353; OKLCH L 73.2% C 0.193 H 337.9°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#F271D2
RGBrgb(242, 113, 210)
HSLhsl(315, 83%, 70%)
HSVhsv(315, 53%, 95%)
CMYKcmyk(0%, 53.3%, 13.2%, 5.1%)
CIE-LABlab(66.02, 61.00, -26.93)
CIE-LCHlch(66.02, 66.68, 336.18°)
OKLaboklab(73.2% 0.1787 -0.0726)
OKLCHoklch(73.2% 0.193 337.9)
XYZxyz(54.1565, 35.3447, 64.9301)
Luminance0.3534 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F271D2 #71F291
analogous
#D271F2 #F271D2 #F27191
triadic
#F271D2 #D2F271 #71D2F2
tetradic
#F271D2 #F2D271 #71F291 #7191F2
square
#F271D2 #F2D271 #71F291 #7191F2
split-complementary
#F271D2 #91F271 #71F2D2
monochromatic
#D514A5 #ED39C0 #F271D2 #F7A9E4 #FCE1F6

Accessibility & contrast

On white

2.60
#F271D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#F271D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F271D2
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F271D2#FFFFFF#000000##000000
##F271D21.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7594D5
Deuteranopia (green-blind)
#9AA8CF
Tritanopia (blue-blind)
#FE7598
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f271d2;
/* rgb */ color: rgb(242, 113, 210);
/* oklch */ color: oklch(73.2% 0.193 337.9);
Tailwind
colors: {
  custom: {
    50: '#f99fe0',
    500: '#f271d2',
    950: '#000000',
  },
}
SCSS
$custom: #f271d2;
$custom-light: #f99fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#f271d2",
  "rgb": {
    "r": 242,
    "g": 113,
    "b": 210
  },
  "hsl": {
    "h": 314.884,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73199,
    "c": 0.1929,
    "h": 337.9
  },
  "luminance": 0.35341
}

Semantic roles & 50–950 ramp

primary
#F271D2
secondary
#CDF2D6
accent
#E03C06
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F271D2

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

Preview Lab → · Contrast checker → · Palette generator →

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