#F28FA6#F28FA6

#F28FA6 is a light, vivid red. Relative luminance 0.413; OKLCH L 76.0% C 0.122 H 5.4°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#F28FA6
RGBrgb(242, 143, 166)
HSLhsl(346, 79%, 75%)
HSVhsv(346, 41%, 95%)
CMYKcmyk(0%, 40.9%, 31.4%, 5.1%)
CIE-LABlab(70.37, 40.09, 4.23)
CIE-LCHlch(70.37, 40.32, 6.02°)
OKLaboklab(76.01% 0.1215 0.0115)
OKLCHoklch(76.01% 0.122 5.4)
XYZxyz(53.3253, 41.2795, 41.2282)
Luminance0.4128 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28FA6 #8FF2DB
analogous
#F28FD7 #F28FA6 #F2A98F
triadic
#F28FA6 #A6F28F #8FA6F2
tetradic
#F28FA6 #D7F28F #8FF2DB #A98FF2
square
#F28FA6 #D7F28F #8FF2DB #A98FF2
split-complementary
#F28FA6 #8FF2A9 #8FD7F2
monochromatic
#E5214F #EC587A #F28FA6 #F8C6D2 #FCE4E9

Accessibility & contrast

On white

2.27
#F28FA6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#F28FA6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28FA6
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28FA6#FFFFFF#000000##000000
##F28FA61.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FA1A7
Deuteranopia (green-blind)
#B7B3A4
Tritanopia (blue-blind)
#FF8797
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f28fa6;
/* rgb */ color: rgb(242, 143, 166);
/* oklch */ color: oklch(76.0% 0.122 5.4);
Tailwind
colors: {
  custom: {
    50: '#f9b1c0',
    500: '#f28fa6',
    950: '#000000',
  },
}
SCSS
$custom: #f28fa6;
$custom-light: #f9b1c0;
$custom-dark: #000000;
JSON
{
  "hex": "#f28fa6",
  "rgb": {
    "r": 242,
    "g": 143,
    "b": 166
  },
  "hsl": {
    "h": 346.061,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.76011,
    "c": 0.12208,
    "h": 5.4
  },
  "luminance": 0.41275
}

Semantic roles & 50–950 ramp

primary
#F28FA6
secondary
#D7F4ED
accent
#DBAB0A
background
#FFFBFB
surface
#FFF6F7
border
#D7D0D0
text
#181112
muted
#868081

Preview Lab

Preview with #F28FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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