#F270E2#F270E2

#F270E2 is a light, highly saturated purple. Relative luminance 0.360; OKLCH L 73.8% C 0.207 H 332.4°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#F270E2
RGBrgb(242, 112, 226)
HSLhsl(307, 83%, 69%)
HSVhsv(307, 54%, 95%)
CMYKcmyk(0%, 53.7%, 6.6%, 5.1%)
CIE-LABlab(66.49, 63.96, -35.13)
CIE-LCHlch(66.49, 72.97, 331.22°)
OKLaboklab(73.76% 0.183 -0.0958)
OKLCHoklch(73.76% 0.207 332.4)
XYZxyz(56.1395, 35.9604, 75.9209)
Luminance0.3596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F270E2 #70F280
analogous
#C170F2 #F270E2 #F270A1
triadic
#F270E2 #E2F270 #70E2F2
tetradic
#F270E2 #F2C170 #70F280 #70A1F2
square
#F270E2 #F2C170 #70F280 #70A1F2
split-complementary
#F270E2 #A1F270 #70F2C1
monochromatic
#D413BD #ED38D7 #F270E2 #F7A8ED #FCE0F9

Accessibility & contrast

On white

2.56
#F270E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#F270E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F270E2
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F270E2#FFFFFF#000000##000000
##F270E21.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C96E6
Deuteranopia (green-blind)
#93A8DE
Tritanopia (blue-blind)
#FB7A9F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f270e2;
/* rgb */ color: rgb(242, 112, 226);
/* oklch */ color: oklch(73.8% 0.207 332.4);
Tailwind
colors: {
  custom: {
    50: '#f99eeb',
    500: '#f270e2',
    950: '#000000',
  },
}
SCSS
$custom: #f270e2;
$custom-light: #f99eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#f270e2",
  "rgb": {
    "r": 242,
    "g": 112,
    "b": 226
  },
  "hsl": {
    "h": 307.385,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.7376,
    "c": 0.20656,
    "h": 332.4
  },
  "luminance": 0.35957
}

Semantic roles & 50–950 ramp

primary
#F270E2
secondary
#CCF2D1
accent
#E02106
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F270E2

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

Preview Lab → · Contrast checker → · Palette generator →

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