#F281DD#F281DD

#F281DD is a light, vivid pink. Relative luminance 0.398; OKLCH L 75.8% C 0.176 H 334.5°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#F281DD
RGBrgb(242, 129, 221)
HSLhsl(311, 81%, 73%)
HSVhsv(311, 47%, 95%)
CMYKcmyk(0%, 46.7%, 8.7%, 5.1%)
CIE-LABlab(69.33, 55.13, -27.96)
CIE-LCHlch(69.33, 61.82, 333.10°)
OKLaboklab(75.8% 0.1589 -0.0756)
OKLCHoklch(75.8% 0.176 334.5)
XYZxyz(57.5193, 39.8018, 73.0455)
Luminance0.3980 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F281DD #81F296
analogous
#CE81F2 #F281DD #F281A5
triadic
#F281DD #DDF281 #81DDF2
tetradic
#F281DD #F2CE81 #81F296 #81A5F2
square
#F281DD #F2CE81 #81F296 #81A5F2
split-complementary
#F281DD #A5F281 #81F2CE
monochromatic
#E117BC #EC4ACE #F281DD #F8B8EC #FCE3F8

Accessibility & contrast

On white

2.34
#F281DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#F281DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F281DD
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F281DD#FFFFFF#000000##000000
##F281DD1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#819FE0
Deuteranopia (green-blind)
#A0AFDA
Tritanopia (blue-blind)
#FB87A5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f281dd;
/* rgb */ color: rgb(242, 129, 221);
/* oklch */ color: oklch(75.8% 0.176 334.5);
Tailwind
colors: {
  custom: {
    50: '#f8a9e7',
    500: '#f281dd',
    950: '#000000',
  },
}
SCSS
$custom: #f281dd;
$custom-light: #f8a9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f281dd",
  "rgb": {
    "r": 242,
    "g": 129,
    "b": 221
  },
  "hsl": {
    "h": 311.15,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.75799,
    "c": 0.17596,
    "h": 334.5
  },
  "luminance": 0.39798
}

Semantic roles & 50–950 ramp

primary
#F281DD
secondary
#D7F4DC
accent
#DE3008
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F281DD

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

Preview Lab → · Contrast checker → · Palette generator →

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