#F271CD#F271CD

#F271CD is a light, vivid pink. Relative luminance 0.351; OKLCH L 73.0% C 0.189 H 339.7°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#F271CD
RGBrgb(242, 113, 205)
HSLhsl(317, 83%, 70%)
HSVhsv(317, 53%, 95%)
CMYKcmyk(0%, 53.3%, 15.3%, 5.1%)
CIE-LABlab(65.83, 60.25, -24.42)
CIE-LCHlch(65.83, 65.01, 337.93°)
OKLaboklab(73% 0.1776 -0.0655)
OKLCHoklch(73% 0.189 339.7)
XYZxyz(53.5433, 35.0994, 61.7006)
Luminance0.3509 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F271CD #71F296
analogous
#D671F2 #F271CD #F2718D
triadic
#F271CD #CDF271 #71CDF2
tetradic
#F271CD #F2D671 #71F296 #718DF2
square
#F271CD #F2D671 #71F296 #718DF2
split-complementary
#F271CD #8DF271 #71F2D6
monochromatic
#D5149E #ED39B9 #F271CD #F7A9E1 #FCE1F4

Accessibility & contrast

On white

2.62
#F271CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#F271CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F271CD
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F271CD#FFFFFF#000000##000000
##F271CD1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7793D0
Deuteranopia (green-blind)
#9BA7CA
Tritanopia (blue-blind)
#FE7496
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f271cd;
/* rgb */ color: rgb(242, 113, 205);
/* oklch */ color: oklch(73.0% 0.189 339.7);
Tailwind
colors: {
  custom: {
    50: '#f99fdc',
    500: '#f271cd',
    950: '#000000',
  },
}
SCSS
$custom: #f271cd;
$custom-light: #f99fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#f271cd",
  "rgb": {
    "r": 242,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 317.209,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72996,
    "c": 0.18934,
    "h": 339.7
  },
  "luminance": 0.35095
}

Semantic roles & 50–950 ramp

primary
#F271CD
secondary
#CDF2D8
accent
#E04406
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F271CD

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

Preview Lab → · Contrast checker → · Palette generator →

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