#F271AE#F271AE

#F271AE is a light, vivid pink. Relative luminance 0.337; OKLCH L 71.9% C 0.171 H 352.7°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#F271AE
RGBrgb(242, 113, 174)
HSLhsl(332, 83%, 70%)
HSVhsv(332, 53%, 95%)
CMYKcmyk(0%, 53.3%, 28.1%, 5.1%)
CIE-LABlab(64.76, 55.96, -8.52)
CIE-LCHlch(64.76, 56.60, 351.35°)
OKLaboklab(71.85% 0.1695 -0.0218)
OKLCHoklch(71.85% 0.171 352.7)
XYZxyz(50.1650, 33.7481, 43.9082)
Luminance0.3374 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F271AE #71F2B5
analogous
#F271EF #F271AE #F27571
triadic
#F271AE #AEF271 #71AEF2
tetradic
#F271AE #EFF271 #71F2B5 #7571F2
square
#F271AE #EFF271 #71F2B5 #7571F2
split-complementary
#F271AE #71F275 #71EFF2
monochromatic
#D5146F #ED398E #F271AE #F7A9CE #FCE1EE

Accessibility & contrast

On white

2.71
#F271AE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#F271AE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F271AE
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F271AE#FFFFFF#000000##000000
##F271AE1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#828FB0
Deuteranopia (green-blind)
#A4A6AB
Tritanopia (blue-blind)
#FF6B88
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f271ae;
/* rgb */ color: rgb(242, 113, 174);
/* oklch */ color: oklch(71.9% 0.171 352.7);
Tailwind
colors: {
  custom: {
    50: '#fa9ec6',
    500: '#f271ae',
    950: '#000000',
  },
}
SCSS
$custom: #f271ae;
$custom-light: #fa9ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#f271ae",
  "rgb": {
    "r": 242,
    "g": 113,
    "b": 174
  },
  "hsl": {
    "h": 331.628,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71854,
    "c": 0.17087,
    "h": 352.7
  },
  "luminance": 0.33743
}

Semantic roles & 50–950 ramp

primary
#F271AE
secondary
#CDF2E0
accent
#E07906
background
#FFFAFC
surface
#FFF3F8
border
#D7CDD1
text
#180F13
muted
#867F82

Preview Lab

Preview with #F271AE

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

Preview Lab → · Contrast checker → · Palette generator →

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