#F271C9#F271C9

#F271C9 is a light, vivid pink. Relative luminance 0.349; OKLCH L 72.8% C 0.187 H 341.3°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#F271C9
RGBrgb(242, 113, 201)
HSLhsl(319, 83%, 70%)
HSVhsv(319, 53%, 95%)
CMYKcmyk(0%, 53.3%, 16.9%, 5.1%)
CIE-LABlab(65.68, 59.66, -22.40)
CIE-LCHlch(65.68, 63.73, 339.42°)
OKLaboklab(72.84% 0.1767 -0.0599)
OKLCHoklch(72.84% 0.187 341.3)
XYZxyz(53.0667, 34.9088, 59.1902)
Luminance0.3491 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F271C9 #71F29A
analogous
#DB71F2 #F271C9 #F27189
triadic
#F271C9 #C9F271 #71C9F2
tetradic
#F271C9 #F2DB71 #71F29A #7189F2
square
#F271C9 #F2DB71 #71F29A #7189F2
split-complementary
#F271C9 #89F271 #71F2DB
monochromatic
#D51498 #ED39B4 #F271C9 #F7A9DE #FCE1F4

Accessibility & contrast

On white

2.63
#F271C9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#F271C9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F271C9
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F271C9#FFFFFF#000000##000000
##F271C91.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7892CC
Deuteranopia (green-blind)
#9DA7C6
Tritanopia (blue-blind)
#FF7394
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f271c9;
/* rgb */ color: rgb(242, 113, 201);
/* oklch */ color: oklch(72.8% 0.187 341.3);
Tailwind
colors: {
  custom: {
    50: '#f99fd9',
    500: '#f271c9',
    950: '#000000',
  },
}
SCSS
$custom: #f271c9;
$custom-light: #f99fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#f271c9",
  "rgb": {
    "r": 242,
    "g": 113,
    "b": 201
  },
  "hsl": {
    "h": 319.07,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72837,
    "c": 0.18661,
    "h": 341.3
  },
  "luminance": 0.34905
}

Semantic roles & 50–950 ramp

primary
#F271C9
secondary
#CDF2D9
accent
#E04B06
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#180F14
muted
#867F83

Preview Lab

Preview with #F271C9

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

Preview Lab → · Contrast checker → · Palette generator →

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