#F271C3#F271C3

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

Color values

HEX#F271C3
RGBrgb(242, 113, 195)
HSLhsl(322, 83%, 70%)
HSVhsv(322, 53%, 95%)
CMYKcmyk(0%, 53.3%, 19.4%, 5.1%)
CIE-LABlab(65.46, 58.79, -19.36)
CIE-LCHlch(65.46, 61.90, 341.78°)
OKLaboklab(72.61% 0.1753 -0.0514)
OKLCHoklch(72.61% 0.183 343.6)
XYZxyz(52.3746, 34.6319, 55.5454)
Luminance0.3463 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F271C3 #71F2A0
analogous
#E071F2 #F271C3 #F27183
triadic
#F271C3 #C3F271 #71C3F2
tetradic
#F271C3 #F2E071 #71F2A0 #7183F2
square
#F271C3 #F2E071 #71F2A0 #7183F2
split-complementary
#F271C3 #83F271 #71F2E0
monochromatic
#D5148F #ED39AB #F271C3 #F7A9DB #FCE1F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F271C3#FFFFFF#000000##000000
##F271C31.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)
#7B92C6
Deuteranopia (green-blind)
#9EA7C0
Tritanopia (blue-blind)
#FF7191
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f271c3;
/* rgb */ color: rgb(242, 113, 195);
/* oklch */ color: oklch(72.6% 0.183 343.6);
Tailwind
colors: {
  custom: {
    50: '#f99fd5',
    500: '#f271c3',
    950: '#000000',
  },
}
SCSS
$custom: #f271c3;
$custom-light: #f99fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#f271c3",
  "rgb": {
    "r": 242,
    "g": 113,
    "b": 195
  },
  "hsl": {
    "h": 321.86,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72605,
    "c": 0.18267,
    "h": 343.6
  },
  "luminance": 0.34628
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F271C3

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

Preview Lab → · Contrast checker → · Palette generator →

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