#F271BE#F271BE

#F271BE is a light, vivid pink. Relative luminance 0.344; OKLCH L 72.4% C 0.180 H 345.7°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#F271BE
RGBrgb(242, 113, 190)
HSLhsl(324, 83%, 70%)
HSVhsv(324, 53%, 95%)
CMYKcmyk(0%, 53.3%, 21.5%, 5.1%)
CIE-LABlab(65.29, 58.09, -16.80)
CIE-LCHlch(65.29, 60.47, 343.87°)
OKLaboklab(72.42% 0.174 -0.0444)
OKLCHoklch(72.42% 0.18 345.7)
XYZxyz(51.8187, 34.4096, 52.6178)
Luminance0.3441 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F271BE #71F2A5
analogous
#E671F2 #F271BE #F2717E
triadic
#F271BE #BEF271 #71BEF2
tetradic
#F271BE #F2E671 #71F2A5 #717EF2
square
#F271BE #F2E671 #71F2A5 #717EF2
split-complementary
#F271BE #7EF271 #71F2E6
monochromatic
#D51487 #ED39A4 #F271BE #F7A9D8 #FCE1F1

Accessibility & contrast

On white

2.66
#F271BE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#F271BE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F271BE
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F271BE#FFFFFF#000000##000000
##F271BE1.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D91C1
Deuteranopia (green-blind)
#A0A7BB
Tritanopia (blue-blind)
#FF6F8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f271be;
/* rgb */ color: rgb(242, 113, 190);
/* oklch */ color: oklch(72.4% 0.180 345.7);
Tailwind
colors: {
  custom: {
    50: '#f99ed1',
    500: '#f271be',
    950: '#000000',
  },
}
SCSS
$custom: #f271be;
$custom-light: #f99ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#f271be",
  "rgb": {
    "r": 242,
    "g": 113,
    "b": 190
  },
  "hsl": {
    "h": 324.186,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72417,
    "c": 0.17957,
    "h": 345.7
  },
  "luminance": 0.34405
}

Semantic roles & 50–950 ramp

primary
#F271BE
secondary
#CDF2DC
accent
#E05E06
background
#FFFAFC
surface
#FFF3F9
border
#D7CDD2
text
#180F14
muted
#867F82

Preview Lab

Preview with #F271BE

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

Preview Lab → · Contrast checker → · Palette generator →

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