#F271B3#F271B3

#F271B3 is a light, vivid pink. Relative luminance 0.339; OKLCH L 72.0% C 0.173 H 350.4°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#F271B3
RGBrgb(242, 113, 179)
HSLhsl(329, 83%, 70%)
HSVhsv(329, 53%, 95%)
CMYKcmyk(0%, 53.3%, 26%, 5.1%)
CIE-LABlab(64.92, 56.61, -11.12)
CIE-LCHlch(64.92, 57.69, 348.89°)
OKLaboklab(72.02% 0.171 -0.0289)
OKLCHoklch(72.02% 0.173 350.4)
XYZxyz(50.6616, 33.9467, 46.5233)
Luminance0.3394 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F271B3 #71F2B0
analogous
#F071F2 #F271B3 #F27173
triadic
#F271B3 #B3F271 #71B3F2
tetradic
#F271B3 #F2F071 #71F2B0 #7173F2
square
#F271B3 #F2F071 #71F2B0 #7173F2
split-complementary
#F271B3 #73F271 #71F2F0
monochromatic
#D51477 #ED3995 #F271B3 #F7A9D1 #FCE1EF

Accessibility & contrast

On white

2.70
#F271B3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#F271B3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F271B3
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F271B3#FFFFFF#000000##000000
##F271B31.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#808FB5
Deuteranopia (green-blind)
#A3A6B0
Tritanopia (blue-blind)
#FF6C8A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f271b3;
/* rgb */ color: rgb(242, 113, 179);
/* oklch */ color: oklch(72.0% 0.173 350.4);
Tailwind
colors: {
  custom: {
    50: '#f99ec9',
    500: '#f271b3',
    950: '#000000',
  },
}
SCSS
$custom: #f271b3;
$custom-light: #f99ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#f271b3",
  "rgb": {
    "r": 242,
    "g": 113,
    "b": 179
  },
  "hsl": {
    "h": 329.302,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72024,
    "c": 0.17337,
    "h": 350.4
  },
  "luminance": 0.33942
}

Semantic roles & 50–950 ramp

primary
#F271B3
secondary
#CDF2DF
accent
#E07006
background
#FFFAFC
surface
#FFF3F8
border
#D7CDD1
text
#180F13
muted
#867F82

Preview Lab

Preview with #F271B3

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

Preview Lab → · Contrast checker → · Palette generator →

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