#F271A3#F271A3

#F271A3 is a light, vivid pink. Relative luminance 0.333; OKLCH L 71.5% C 0.166 H 357.8°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#F271A3
RGBrgb(242, 113, 163)
HSLhsl(337, 83%, 70%)
HSVhsv(337, 53%, 95%)
CMYKcmyk(0%, 53.3%, 32.6%, 5.1%)
CIE-LABlab(64.43, 54.60, -2.74)
CIE-LCHlch(64.43, 54.67, 357.13°)
OKLaboklab(71.5% 0.166 -0.0065)
OKLCHoklch(71.5% 0.166 357.8)
XYZxyz(49.1363, 33.3366, 38.4901)
Luminance0.3333 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F271A3 #71F2C0
analogous
#F271E4 #F271A3 #F28071
triadic
#F271A3 #A3F271 #71A3F2
tetradic
#F271A3 #E4F271 #71F2C0 #8071F2
square
#F271A3 #E4F271 #71F2C0 #8071F2
split-complementary
#F271A3 #71F280 #71E4F2
monochromatic
#D5145F #ED397F #F271A3 #F7A9C7 #FCE1EC

Accessibility & contrast

On white

2.74
#F271A3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#F271A3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F271A3
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F271A3#FFFFFF#000000##000000
##F271A31.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#858DA5
Deuteranopia (green-blind)
#A7A5A0
Tritanopia (blue-blind)
#FF6884
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #f271a3;
/* rgb */ color: rgb(242, 113, 163);
/* oklch */ color: oklch(71.5% 0.166 357.8);
Tailwind
colors: {
  custom: {
    50: '#fa9ebe',
    500: '#f271a3',
    950: '#000000',
  },
}
SCSS
$custom: #f271a3;
$custom-light: #fa9ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#f271a3",
  "rgb": {
    "r": 242,
    "g": 113,
    "b": 163
  },
  "hsl": {
    "h": 336.744,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71499,
    "c": 0.16613,
    "h": 357.8
  },
  "luminance": 0.33332
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F271A3

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

Preview Lab → · Contrast checker → · Palette generator →

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