#F28FAC#F28FAC

#F28FAC is a light, vivid pink. Relative luminance 0.415; OKLCH L 76.2% C 0.124 H 1.6°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#F28FAC
RGBrgb(242, 143, 172)
HSLhsl(342, 79%, 75%)
HSVhsv(342, 41%, 95%)
CMYKcmyk(0%, 40.9%, 28.9%, 5.1%)
CIE-LABlab(70.53, 40.86, 1.11)
CIE-LCHlch(70.53, 40.88, 1.55°)
OKLaboklab(76.18% 0.1237 0.0034)
OKLCHoklch(76.18% 0.124 1.6)
XYZxyz(53.8886, 41.5049, 44.1947)
Luminance0.4150 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28FAC #8FF2D5
analogous
#F28FDE #F28FAC #F2A38F
triadic
#F28FAC #ACF28F #8FACF2
tetradic
#F28FAC #DEF28F #8FF2D5 #A38FF2
square
#F28FAC #DEF28F #8FF2D5 #A38FF2
split-complementary
#F28FAC #8FF2A3 #8FDEF2
monochromatic
#E5215B #EC5883 #F28FAC #F8C6D5 #FCE4EB

Accessibility & contrast

On white

2.26
#F28FAC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#F28FAC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28FAC
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28FAC#FFFFFF#000000##000000
##F28FAC1.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EA1AD
Deuteranopia (green-blind)
#B6B3AA
Tritanopia (blue-blind)
#FF8899
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f28fac;
/* rgb */ color: rgb(242, 143, 172);
/* oklch */ color: oklch(76.2% 0.124 1.6);
Tailwind
colors: {
  custom: {
    50: '#f8b1c4',
    500: '#f28fac',
    950: '#000000',
  },
}
SCSS
$custom: #f28fac;
$custom-light: #f8b1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#f28fac",
  "rgb": {
    "r": 242,
    "g": 143,
    "b": 172
  },
  "hsl": {
    "h": 342.424,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.76182,
    "c": 0.12372,
    "h": 1.6
  },
  "luminance": 0.41501
}

Semantic roles & 50–950 ramp

primary
#F28FAC
secondary
#D7F4EB
accent
#DB9E0A
background
#FFFBFC
surface
#FFF6F8
border
#D7D0D1
text
#181112
muted
#868081

Preview Lab

Preview with #F28FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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