#F281DC#F281DC

#F281DC is a light, vivid pink. Relative luminance 0.397; OKLCH L 75.8% C 0.175 H 334.9°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#F281DC
RGBrgb(242, 129, 220)
HSLhsl(312, 81%, 73%)
HSVhsv(312, 47%, 95%)
CMYKcmyk(0%, 46.7%, 9.1%, 5.1%)
CIE-LABlab(69.29, 54.97, -27.47)
CIE-LCHlch(69.29, 61.45, 333.45°)
OKLaboklab(75.76% 0.1587 -0.0742)
OKLCHoklch(75.76% 0.175 334.9)
XYZxyz(57.3865, 39.7487, 72.3459)
Luminance0.3975 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F281DC #81F297
analogous
#CF81F2 #F281DC #F281A4
triadic
#F281DC #DCF281 #81DCF2
tetradic
#F281DC #F2CF81 #81F297 #81A4F2
square
#F281DC #F2CF81 #81F297 #81A4F2
split-complementary
#F281DC #A4F281 #81F2CF
monochromatic
#E117BA #EC4ACD #F281DC #F8B8EB #FCE3F7

Accessibility & contrast

On white

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

On black

8.95
#F281DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F281DC
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F281DC#FFFFFF#000000##000000
##F281DC1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#819FDF
Deuteranopia (green-blind)
#A0AFD9
Tritanopia (blue-blind)
#FC87A4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f281dc;
/* rgb */ color: rgb(242, 129, 220);
/* oklch */ color: oklch(75.8% 0.175 334.9);
Tailwind
colors: {
  custom: {
    50: '#f8a9e7',
    500: '#f281dc',
    950: '#000000',
  },
}
SCSS
$custom: #f281dc;
$custom-light: #f8a9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f281dc",
  "rgb": {
    "r": 242,
    "g": 129,
    "b": 220
  },
  "hsl": {
    "h": 311.681,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.75758,
    "c": 0.17517,
    "h": 334.9
  },
  "luminance": 0.39745
}

Semantic roles & 50–950 ramp

primary
#F281DC
secondary
#D7F4DD
accent
#DE3108
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F281DC

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

Preview Lab → · Contrast checker → · Palette generator →

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