#F271AA#F271AA

#F271AA is a light, vivid pink. Relative luminance 0.336; OKLCH L 71.7% C 0.169 H 354.5°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#F271AA
RGBrgb(242, 113, 170)
HSLhsl(333, 83%, 70%)
HSVhsv(333, 53%, 95%)
CMYKcmyk(0%, 53.3%, 29.8%, 5.1%)
CIE-LABlab(64.64, 55.45, -6.42)
CIE-LCHlch(64.64, 55.82, 353.39°)
OKLaboklab(71.72% 0.1682 -0.0162)
OKLCHoklch(71.72% 0.169 354.5)
XYZxyz(49.7809, 33.5945, 41.8851)
Luminance0.3359 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F271AA #71F2B9
analogous
#F271EB #F271AA #F27871
triadic
#F271AA #AAF271 #71AAF2
tetradic
#F271AA #EBF271 #71F2B9 #7871F2
square
#F271AA #EBF271 #71F2B9 #7871F2
split-complementary
#F271AA #71F278 #71EBF2
monochromatic
#D51469 #ED3988 #F271AA #F7A9CC #FCE1ED

Accessibility & contrast

On white

2.72
#F271AA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#F271AA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F271AA
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F271AA#FFFFFF#000000##000000
##F271AA1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#838EAC
Deuteranopia (green-blind)
#A5A6A7
Tritanopia (blue-blind)
#FF6A87
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f271aa;
/* rgb */ color: rgb(242, 113, 170);
/* oklch */ color: oklch(71.7% 0.169 354.5);
Tailwind
colors: {
  custom: {
    50: '#fa9ec3',
    500: '#f271aa',
    950: '#000000',
  },
}
SCSS
$custom: #f271aa;
$custom-light: #fa9ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#f271aa",
  "rgb": {
    "r": 242,
    "g": 113,
    "b": 170
  },
  "hsl": {
    "h": 333.488,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71722,
    "c": 0.16902,
    "h": 354.5
  },
  "luminance": 0.3359
}

Semantic roles & 50–950 ramp

primary
#F271AA
secondary
#CDF2E2
accent
#E07F06
background
#FFFAFB
surface
#FFF3F7
border
#D7CDD0
text
#180F12
muted
#867F81

Preview Lab

Preview with #F271AA

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

Preview Lab → · Contrast checker → · Palette generator →

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