#F270DA#F270DA

#F270DA is a light, highly saturated pink. Relative luminance 0.355; OKLCH L 73.4% C 0.200 H 335.0°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#F270DA
RGBrgb(242, 112, 218)
HSLhsl(311, 83%, 69%)
HSVhsv(311, 54%, 95%)
CMYKcmyk(0%, 53.7%, 9.9%, 5.1%)
CIE-LABlab(66.16, 62.69, -31.18)
CIE-LCHlch(66.16, 70.01, 333.55°)
OKLaboklab(73.41% 0.1816 -0.0846)
OKLCHoklch(73.41% 0.2 335)
XYZxyz(55.0672, 35.5315, 70.2740)
Luminance0.3553 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F270DA #70F288
analogous
#C970F2 #F270DA #F27099
triadic
#F270DA #DAF270 #70DAF2
tetradic
#F270DA #F2C970 #70F288 #7099F2
square
#F270DA #F2C970 #70F288 #7099F2
split-complementary
#F270DA #99F270 #70F2C9
monochromatic
#D413B1 #ED38CB #F270DA #F7A8E9 #FCE0F7

Accessibility & contrast

On white

2.59
#F270DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#F270DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F270DA
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F270DA#FFFFFF#000000##000000
##F270DA1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7095DD
Deuteranopia (green-blind)
#96A8D6
Tritanopia (blue-blind)
#FC779B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f270da;
/* rgb */ color: rgb(242, 112, 218);
/* oklch */ color: oklch(73.4% 0.200 335.0);
Tailwind
colors: {
  custom: {
    50: '#f99ee5',
    500: '#f270da',
    950: '#000000',
  },
}
SCSS
$custom: #f270da;
$custom-light: #f99ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#f270da",
  "rgb": {
    "r": 242,
    "g": 112,
    "b": 218
  },
  "hsl": {
    "h": 311.077,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73409,
    "c": 0.20036,
    "h": 335
  },
  "luminance": 0.35528
}

Semantic roles & 50–950 ramp

primary
#F270DA
secondary
#CCF2D3
accent
#E02E06
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F270DA

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

Preview Lab → · Contrast checker → · Palette generator →

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