#F281CF#F281CF

#F281CF is a light, vivid pink. Relative luminance 0.391; OKLCH L 75.2% C 0.165 H 340.2°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#F281CF
RGBrgb(242, 129, 207)
HSLhsl(319, 81%, 73%)
HSVhsv(319, 47%, 95%)
CMYKcmyk(0%, 46.7%, 14.5%, 5.1%)
CIE-LABlab(68.81, 52.92, -20.98)
CIE-LCHlch(68.81, 56.92, 338.37°)
OKLaboklab(75.25% 0.1556 -0.0561)
OKLCHoklch(75.25% 0.165 340.2)
XYZxyz(55.7313, 39.0866, 63.6285)
Luminance0.3908 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F281CF #81F2A4
analogous
#DC81F2 #F281CF #F28196
triadic
#F281CF #CFF281 #81CFF2
tetradic
#F281CF #F2DC81 #81F2A4 #8196F2
square
#F281CF #F2DC81 #81F2A4 #8196F2
split-complementary
#F281CF #96F281 #81F2DC
monochromatic
#E117A3 #EC4ABA #F281CF #F8B8E4 #FCE3F4

Accessibility & contrast

On white

2.38
#F281CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#F281CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F281CF
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F281CF#FFFFFF#000000##000000
##F281CF1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#869DD2
Deuteranopia (green-blind)
#A4AECC
Tritanopia (blue-blind)
#FD839F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f281cf;
/* rgb */ color: rgb(242, 129, 207);
/* oklch */ color: oklch(75.2% 0.165 340.2);
Tailwind
colors: {
  custom: {
    50: '#f8a9dd',
    500: '#f281cf',
    950: '#000000',
  },
}
SCSS
$custom: #f281cf;
$custom-light: #f8a9dd;
$custom-dark: #000000;
JSON
{
  "hex": "#f281cf",
  "rgb": {
    "r": 242,
    "g": 129,
    "b": 207
  },
  "hsl": {
    "h": 318.584,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.75246,
    "c": 0.16535,
    "h": 340.2
  },
  "luminance": 0.39083
}

Semantic roles & 50–950 ramp

primary
#F281CF
secondary
#D7F4E0
accent
#DE4A08
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#181015
muted
#867F83

Preview Lab

Preview with #F281CF

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

Preview Lab → · Contrast checker → · Palette generator →

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