#F270DC#F270DC

#F270DC is a light, highly saturated pink. Relative luminance 0.356; OKLCH L 73.5% C 0.202 H 334.4°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#F270DC
RGBrgb(242, 112, 220)
HSLhsl(310, 83%, 69%)
HSVhsv(310, 54%, 95%)
CMYKcmyk(0%, 53.7%, 9.1%, 5.1%)
CIE-LABlab(66.24, 63.00, -32.17)
CIE-LCHlch(66.24, 70.74, 332.95°)
OKLaboklab(73.5% 0.182 -0.0874)
OKLCHoklch(73.5% 0.202 334.4)
XYZxyz(55.3305, 35.6368, 71.6606)
Luminance0.3563 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F270DC #70F286
analogous
#C770F2 #F270DC #F2709B
triadic
#F270DC #DCF270 #70DCF2
tetradic
#F270DC #F2C770 #70F286 #709BF2
square
#F270DC #F2C770 #70F286 #709BF2
split-complementary
#F270DC #9BF270 #70F2C7
monochromatic
#D413B4 #ED38CE #F270DC #F7A8EA #FCE0F7

Accessibility & contrast

On white

2.58
#F270DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#F270DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F270DC
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F270DC#FFFFFF#000000##000000
##F270DC1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F95E0
Deuteranopia (green-blind)
#95A8D8
Tritanopia (blue-blind)
#FC789C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f270dc;
/* rgb */ color: rgb(242, 112, 220);
/* oklch */ color: oklch(73.5% 0.202 334.4);
Tailwind
colors: {
  custom: {
    50: '#f99ee7',
    500: '#f270dc',
    950: '#000000',
  },
}
SCSS
$custom: #f270dc;
$custom-light: #f99ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#f270dc",
  "rgb": {
    "r": 242,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 310.154,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73496,
    "c": 0.20189,
    "h": 334.4
  },
  "luminance": 0.35633
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F270DC

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

Preview Lab → · Contrast checker → · Palette generator →

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