#F270DB#F270DB

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

Color values

HEX#F270DB
RGBrgb(242, 112, 219)
HSLhsl(311, 83%, 69%)
HSVhsv(311, 54%, 95%)
CMYKcmyk(0%, 53.7%, 9.5%, 5.1%)
CIE-LABlab(66.20, 62.84, -31.68)
CIE-LCHlch(66.20, 70.38, 333.25°)
OKLaboklab(73.45% 0.1818 -0.086)
OKLCHoklch(73.45% 0.201 334.7)
XYZxyz(55.1985, 35.5840, 70.9652)
Luminance0.3558 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F270DB #70F287
analogous
#C870F2 #F270DB #F2709A
triadic
#F270DB #DBF270 #70DBF2
tetradic
#F270DB #F2C870 #70F287 #709AF2
square
#F270DB #F2C870 #70F287 #709AF2
split-complementary
#F270DB #9AF270 #70F2C8
monochromatic
#D413B2 #ED38CD #F270DB #F7A8E9 #FCE0F7

Accessibility & contrast

On white

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

On black

8.12
#F270DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F270DB
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F270DB#FFFFFF#000000##000000
##F270DB1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7095DE
Deuteranopia (green-blind)
#96A8D7
Tritanopia (blue-blind)
#FC779C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f270db;
/* rgb */ color: rgb(242, 112, 219);
/* oklch */ color: oklch(73.5% 0.201 334.7);
Tailwind
colors: {
  custom: {
    50: '#f99ee6',
    500: '#f270db',
    950: '#000000',
  },
}
SCSS
$custom: #f270db;
$custom-light: #f99ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#f270db",
  "rgb": {
    "r": 242,
    "g": 112,
    "b": 219
  },
  "hsl": {
    "h": 310.615,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73452,
    "c": 0.20112,
    "h": 334.7
  },
  "luminance": 0.3558
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F270DB

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

Preview Lab → · Contrast checker → · Palette generator →

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