#F281DB#F281DB

#F281DB is a light, vivid pink. Relative luminance 0.397; OKLCH L 75.7% C 0.174 H 335.3°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#F281DB
RGBrgb(242, 129, 219)
HSLhsl(312, 81%, 73%)
HSVhsv(312, 47%, 95%)
CMYKcmyk(0%, 46.7%, 9.5%, 5.1%)
CIE-LABlab(69.25, 54.81, -26.97)
CIE-LCHlch(69.25, 61.08, 333.80°)
OKLaboklab(75.72% 0.1584 -0.0728)
OKLCHoklch(75.72% 0.174 335.3)
XYZxyz(57.2544, 39.6959, 71.6505)
Luminance0.3969 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F281DB #81F298
analogous
#D081F2 #F281DB #F281A3
triadic
#F281DB #DBF281 #81DBF2
tetradic
#F281DB #F2D081 #81F298 #81A3F2
square
#F281DB #F2D081 #81F298 #81A3F2
split-complementary
#F281DB #A3F281 #81F2D0
monochromatic
#E117B8 #EC4ACB #F281DB #F8B8EB #FCE3F7

Accessibility & contrast

On white

2.35
#F281DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#F281DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F281DB
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F281DB#FFFFFF#000000##000000
##F281DB1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#819FDE
Deuteranopia (green-blind)
#A0AFD8
Tritanopia (blue-blind)
#FC86A4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f281db;
/* rgb */ color: rgb(242, 129, 219);
/* oklch */ color: oklch(75.7% 0.174 335.3);
Tailwind
colors: {
  custom: {
    50: '#f8a9e6',
    500: '#f281db',
    950: '#000000',
  },
}
SCSS
$custom: #f281db;
$custom-light: #f8a9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f281db",
  "rgb": {
    "r": 242,
    "g": 129,
    "b": 219
  },
  "hsl": {
    "h": 312.212,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.75718,
    "c": 0.17437,
    "h": 335.3
  },
  "luminance": 0.39692
}

Semantic roles & 50–950 ramp

primary
#F281DB
secondary
#D7F4DD
accent
#DE3308
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F281DB

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

Preview Lab → · Contrast checker → · Palette generator →

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