#F281DF#F281DF

#F281DF is a light, vivid pink. Relative luminance 0.399; OKLCH L 75.9% C 0.178 H 333.8°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#F281DF
RGBrgb(242, 129, 223)
HSLhsl(310, 81%, 73%)
HSVhsv(310, 47%, 95%)
CMYKcmyk(0%, 46.7%, 7.9%, 5.1%)
CIE-LABlab(69.40, 55.46, -28.95)
CIE-LCHlch(69.40, 62.56, 332.43°)
OKLaboklab(75.88% 0.1593 -0.0784)
OKLCHoklch(75.88% 0.178 333.8)
XYZxyz(57.7874, 39.9091, 74.4572)
Luminance0.3991 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F281DF #81F294
analogous
#CC81F2 #F281DF #F281A7
triadic
#F281DF #DFF281 #81DFF2
tetradic
#F281DF #F2CC81 #81F294 #81A7F2
square
#F281DF #F2CC81 #81F294 #81A7F2
split-complementary
#F281DF #A7F281 #81F2CC
monochromatic
#E117BF #EC4AD1 #F281DF #F8B8ED #FCE3F8

Accessibility & contrast

On white

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

On black

8.98
#F281DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F281DF
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F281DF#FFFFFF#000000##000000
##F281DF1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#809FE2
Deuteranopia (green-blind)
#9FAFDC
Tritanopia (blue-blind)
#FB87A6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f281df;
/* rgb */ color: rgb(242, 129, 223);
/* oklch */ color: oklch(75.9% 0.178 333.8);
Tailwind
colors: {
  custom: {
    50: '#f8a9e9',
    500: '#f281df',
    950: '#000000',
  },
}
SCSS
$custom: #f281df;
$custom-light: #f8a9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f281df",
  "rgb": {
    "r": 242,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 310.088,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.75881,
    "c": 0.17756,
    "h": 333.8
  },
  "luminance": 0.39905
}

Semantic roles & 50–950 ramp

primary
#F281DF
secondary
#D7F4DC
accent
#DE2C08
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F281DF

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

Preview Lab → · Contrast checker → · Palette generator →

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