#F270DF#F270DF

#F270DF is a light, highly saturated purple. Relative luminance 0.358; OKLCH L 73.6% C 0.204 H 333.4°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#F270DF
RGBrgb(242, 112, 223)
HSLhsl(309, 83%, 69%)
HSVhsv(309, 54%, 95%)
CMYKcmyk(0%, 53.7%, 7.9%, 5.1%)
CIE-LABlab(66.36, 63.48, -33.65)
CIE-LCHlch(66.36, 71.84, 332.07°)
OKLaboklab(73.63% 0.1825 -0.0916)
OKLCHoklch(73.63% 0.204 333.4)
XYZxyz(55.7314, 35.7972, 73.7719)
Luminance0.3579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F270DF #70F283
analogous
#C470F2 #F270DF #F2709E
triadic
#F270DF #DFF270 #70DFF2
tetradic
#F270DF #F2C470 #70F283 #709EF2
square
#F270DF #F2C470 #70F283 #709EF2
split-complementary
#F270DF #9EF270 #70F2C4
monochromatic
#D413B8 #ED38D2 #F270DF #F7A8EC #FCE0F8

Accessibility & contrast

On white

2.57
#F270DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#F270DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F270DF
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F270DF#FFFFFF#000000##000000
##F270DF1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E95E3
Deuteranopia (green-blind)
#94A8DB
Tritanopia (blue-blind)
#FC799E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f270df;
/* rgb */ color: rgb(242, 112, 223);
/* oklch */ color: oklch(73.6% 0.204 333.4);
Tailwind
colors: {
  custom: {
    50: '#f99ee9',
    500: '#f270df',
    950: '#000000',
  },
}
SCSS
$custom: #f270df;
$custom-light: #f99ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#f270df",
  "rgb": {
    "r": 242,
    "g": 112,
    "b": 223
  },
  "hsl": {
    "h": 308.769,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73627,
    "c": 0.20422,
    "h": 333.4
  },
  "luminance": 0.35793
}

Semantic roles & 50–950 ramp

primary
#F270DF
secondary
#CCF2D2
accent
#E02606
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F270DF

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

Preview Lab → · Contrast checker → · Palette generator →

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