#F281A2#F281A2

#F281A2 is a light, vivid pink. Relative luminance 0.372; OKLCH L 73.7% C 0.142 H 2.6°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#F281A2
RGBrgb(242, 129, 162)
HSLhsl(342, 81%, 73%)
HSVhsv(342, 47%, 95%)
CMYKcmyk(0%, 46.7%, 33.1%, 5.1%)
CIE-LABlab(67.42, 46.71, 2.20)
CIE-LCHlch(67.42, 46.76, 2.69°)
OKLaboklab(73.74% 0.1418 0.0063)
OKLCHoklch(73.74% 0.142 2.6)
XYZxyz(50.9920, 37.1909, 38.6684)
Luminance0.3719 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F281A2 #81F2D1
analogous
#F281DA #F281A2 #F29881
triadic
#F281A2 #A2F281 #81A2F2
tetradic
#F281A2 #DAF281 #81F2D1 #9881F2
square
#F281A2 #DAF281 #81F2D1 #9881F2
split-complementary
#F281A2 #81F298 #81DAF2
monochromatic
#E11752 #EC4A79 #F281A2 #F8B8CB #FCE3EB

Accessibility & contrast

On white

2.49
#F281A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#F281A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F281A2
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F281A2#FFFFFF#000000##000000
##F281A21.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9397A3
Deuteranopia (green-blind)
#B0AC9F
Tritanopia (blue-blind)
#FF788D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f281a2;
/* rgb */ color: rgb(242, 129, 162);
/* oklch */ color: oklch(73.7% 0.142 2.6);
Tailwind
colors: {
  custom: {
    50: '#f9a8bd',
    500: '#f281a2',
    950: '#000000',
  },
}
SCSS
$custom: #f281a2;
$custom-light: #f9a8bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f281a2",
  "rgb": {
    "r": 242,
    "g": 129,
    "b": 162
  },
  "hsl": {
    "h": 342.478,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73738,
    "c": 0.14192,
    "h": 2.6
  },
  "luminance": 0.37186
}

Semantic roles & 50–950 ramp

primary
#F281A2
secondary
#D7F4EC
accent
#DE9F08
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#181012
muted
#867F81

Preview Lab

Preview with #F281A2

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

Preview Lab → · Contrast checker → · Palette generator →

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