#F271C2#F271C2

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

Color values

HEX#F271C2
RGBrgb(242, 113, 194)
HSLhsl(322, 83%, 70%)
HSVhsv(322, 53%, 95%)
CMYKcmyk(0%, 53.3%, 19.8%, 5.1%)
CIE-LABlab(65.43, 58.65, -18.85)
CIE-LCHlch(65.43, 61.60, 342.19°)
OKLaboklab(72.57% 0.175 -0.05)
OKLCHoklch(72.57% 0.182 344.1)
XYZxyz(52.2619, 34.5869, 54.9519)
Luminance0.3458 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F271C2 #71F2A1
analogous
#E271F2 #F271C2 #F27181
triadic
#F271C2 #C2F271 #71C2F2
tetradic
#F271C2 #F2E271 #71F2A1 #7181F2
square
#F271C2 #F2E271 #71F2A1 #7181F2
split-complementary
#F271C2 #81F271 #71F2E2
monochromatic
#D5148D #ED39AA #F271C2 #F7A9DA #FCE1F2

Accessibility & contrast

On white

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

On black

7.92
#F271C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F271C2
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F271C2#FFFFFF#000000##000000
##F271C21.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B91C5
Deuteranopia (green-blind)
#9FA7BF
Tritanopia (blue-blind)
#FF7191
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f271c2;
/* rgb */ color: rgb(242, 113, 194);
/* oklch */ color: oklch(72.6% 0.182 344.1);
Tailwind
colors: {
  custom: {
    50: '#f99fd4',
    500: '#f271c2',
    950: '#000000',
  },
}
SCSS
$custom: #f271c2;
$custom-light: #f99fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#f271c2",
  "rgb": {
    "r": 242,
    "g": 113,
    "b": 194
  },
  "hsl": {
    "h": 322.326,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72567,
    "c": 0.18204,
    "h": 344.1
  },
  "luminance": 0.34583
}

Semantic roles & 50–950 ramp

primary
#F271C2
secondary
#CDF2DB
accent
#E05706
background
#FFFAFD
surface
#FFF3FA
border
#D7CDD3
text
#180F14
muted
#867F83

Preview Lab

Preview with #F271C2

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

Preview Lab → · Contrast checker → · Palette generator →

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