#F281AB#F281AB

#F281AB is a light, vivid pink. Relative luminance 0.375; OKLCH L 74.0% C 0.145 H 357.6°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#F281AB
RGBrgb(242, 129, 171)
HSLhsl(338, 81%, 73%)
HSVhsv(338, 47%, 95%)
CMYKcmyk(0%, 46.7%, 29.3%, 5.1%)
CIE-LABlab(67.67, 47.83, -2.52)
CIE-LCHlch(67.67, 47.90, 356.99°)
OKLaboklab(74.01% 0.1449 -0.006)
OKLCHoklch(74.01% 0.145 357.6)
XYZxyz(51.8208, 37.5224, 43.0335)
Luminance0.3752 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F281AB #81F2C8
analogous
#F281E4 #F281AB #F28F81
triadic
#F281AB #ABF281 #81ABF2
tetradic
#F281AB #E4F281 #81F2C8 #8F81F2
square
#F281AB #E4F281 #81F2C8 #8F81F2
split-complementary
#F281AB #81F28F #81E4F2
monochromatic
#E11762 #EC4A86 #F281AB #F8B8D0 #FCE3ED

Accessibility & contrast

On white

2.47
#F281AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#F281AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F281AB
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F281AB#FFFFFF#000000##000000
##F281AB1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9198AC
Deuteranopia (green-blind)
#AEADA8
Tritanopia (blue-blind)
#FF7A90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f281ab;
/* rgb */ color: rgb(242, 129, 171);
/* oklch */ color: oklch(74.0% 0.145 357.6);
Tailwind
colors: {
  custom: {
    50: '#f9a8c3',
    500: '#f281ab',
    950: '#000000',
  },
}
SCSS
$custom: #f281ab;
$custom-light: #f9a8c3;
$custom-dark: #000000;
JSON
{
  "hex": "#f281ab",
  "rgb": {
    "r": 242,
    "g": 129,
    "b": 171
  },
  "hsl": {
    "h": 337.699,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.74006,
    "c": 0.14498,
    "h": 357.6
  },
  "luminance": 0.37518
}

Semantic roles & 50–950 ramp

primary
#F281AB
secondary
#D7F4E9
accent
#DE8E08
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#181012
muted
#867F81

Preview Lab

Preview with #F281AB

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

Preview Lab → · Contrast checker → · Palette generator →

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