#F271C4#F271C4

#F271C4 is a light, vivid pink. Relative luminance 0.347; OKLCH L 72.6% C 0.183 H 343.2°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#F271C4
RGBrgb(242, 113, 196)
HSLhsl(321, 83%, 70%)
HSVhsv(321, 53%, 95%)
CMYKcmyk(0%, 53.3%, 19%, 5.1%)
CIE-LABlab(65.50, 58.94, -19.87)
CIE-LCHlch(65.50, 62.19, 341.37°)
OKLaboklab(72.64% 0.1755 -0.0528)
OKLCHoklch(72.64% 0.183 343.2)
XYZxyz(52.4880, 34.6773, 56.1428)
Luminance0.3467 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F271C4 #71F29F
analogous
#DF71F2 #F271C4 #F27184
triadic
#F271C4 #C4F271 #71C4F2
tetradic
#F271C4 #F2DF71 #71F29F #7184F2
square
#F271C4 #F2DF71 #71F29F #7184F2
split-complementary
#F271C4 #84F271 #71F2DF
monochromatic
#D51490 #ED39AD #F271C4 #F7A9DB #FCE1F3

Accessibility & contrast

On white

2.65
#F271C4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#F271C4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F271C4
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F271C4#FFFFFF#000000##000000
##F271C41.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A92C7
Deuteranopia (green-blind)
#9EA7C1
Tritanopia (blue-blind)
#FF7192
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f271c4;
/* rgb */ color: rgb(242, 113, 196);
/* oklch */ color: oklch(72.6% 0.183 343.2);
Tailwind
colors: {
  custom: {
    50: '#f99fd6',
    500: '#f271c4',
    950: '#000000',
  },
}
SCSS
$custom: #f271c4;
$custom-light: #f99fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#f271c4",
  "rgb": {
    "r": 242,
    "g": 113,
    "b": 196
  },
  "hsl": {
    "h": 321.395,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72643,
    "c": 0.18331,
    "h": 343.2
  },
  "luminance": 0.34673
}

Semantic roles & 50–950 ramp

primary
#F271C4
secondary
#CDF2DA
accent
#E05406
background
#FFFAFD
surface
#FFF3FA
border
#D7CDD3
text
#180F14
muted
#867F83

Preview Lab

Preview with #F271C4

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

Preview Lab → · Contrast checker → · Palette generator →

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