#F271A0#F271A0

#F271A0 is a light, vivid pink. Relative luminance 0.332; OKLCH L 71.4% C 0.165 H 359.2°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#F271A0
RGBrgb(242, 113, 160)
HSLhsl(338, 83%, 70%)
HSVhsv(338, 53%, 95%)
CMYKcmyk(0%, 53.3%, 33.9%, 5.1%)
CIE-LABlab(64.35, 54.24, -1.15)
CIE-LCHlch(64.35, 54.25, 358.79°)
OKLaboklab(71.41% 0.165 -0.0023)
OKLCHoklch(71.41% 0.165 359.2)
XYZxyz(48.8707, 33.2304, 37.0912)
Luminance0.3323 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F271A0 #71F2C3
analogous
#F271E0 #F271A0 #F28371
triadic
#F271A0 #A0F271 #71A0F2
tetradic
#F271A0 #E0F271 #71F2C3 #8371F2
square
#F271A0 #E0F271 #71F2C3 #8371F2
split-complementary
#F271A0 #71F283 #71E0F2
monochromatic
#D5145A #ED397A #F271A0 #F7A9C6 #FCE1EB

Accessibility & contrast

On white

2.75
#F271A0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#F271A0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F271A0
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F271A0#FFFFFF#000000##000000
##F271A01.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#868DA1
Deuteranopia (green-blind)
#A7A59D
Tritanopia (blue-blind)
#FF6783
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #f271a0;
/* rgb */ color: rgb(242, 113, 160);
/* oklch */ color: oklch(71.4% 0.165 359.2);
Tailwind
colors: {
  custom: {
    50: '#fa9ebc',
    500: '#f271a0',
    950: '#000000',
  },
}
SCSS
$custom: #f271a0;
$custom-light: #fa9ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#f271a0",
  "rgb": {
    "r": 242,
    "g": 113,
    "b": 160
  },
  "hsl": {
    "h": 338.14,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71407,
    "c": 0.16503,
    "h": 359.2
  },
  "luminance": 0.33226
}

Semantic roles & 50–950 ramp

primary
#F271A0
secondary
#CDF2E4
accent
#E09006
background
#FFFAFB
surface
#FFF3F6
border
#D7CDD0
text
#180F12
muted
#867F81

Preview Lab

Preview with #F271A0

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

Preview Lab → · Contrast checker → · Palette generator →

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