#F28FA5#F28FA5

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

Color values

HEX#F28FA5
RGBrgb(242, 143, 165)
HSLhsl(347, 79%, 75%)
HSVhsv(347, 41%, 95%)
CMYKcmyk(0%, 40.9%, 31.8%, 5.1%)
CIE-LABlab(70.35, 39.97, 4.75)
CIE-LCHlch(70.35, 40.25, 6.77°)
OKLaboklab(75.98% 0.1212 0.0129)
OKLCHoklch(75.98% 0.122 6.1)
XYZxyz(53.2339, 41.2430, 40.7470)
Luminance0.4124 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28FA5 #8FF2DC
analogous
#F28FD6 #F28FA5 #F2AA8F
triadic
#F28FA5 #A5F28F #8FA5F2
tetradic
#F28FA5 #D6F28F #8FF2DC #AA8FF2
square
#F28FA5 #D6F28F #8FF2DC #AA8FF2
split-complementary
#F28FA5 #8FF2AA #8FD6F2
monochromatic
#E5214D #EC5879 #F28FA5 #F8C6D1 #FCE4E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F28FA5#FFFFFF#000000##000000
##F28FA51.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)
#9FA1A6
Deuteranopia (green-blind)
#B8B3A3
Tritanopia (blue-blind)
#FF8797
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f28fa5;
/* rgb */ color: rgb(242, 143, 165);
/* oklch */ color: oklch(76.0% 0.122 6.1);
Tailwind
colors: {
  custom: {
    50: '#f9b1bf',
    500: '#f28fa5',
    950: '#000000',
  },
}
SCSS
$custom: #f28fa5;
$custom-light: #f9b1bf;
$custom-dark: #000000;
JSON
{
  "hex": "#f28fa5",
  "rgb": {
    "r": 242,
    "g": 143,
    "b": 165
  },
  "hsl": {
    "h": 346.667,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75984,
    "c": 0.12185,
    "h": 6.1
  },
  "luminance": 0.41239
}

Semantic roles & 50–950 ramp

primary
#F28FA5
secondary
#D7F4ED
accent
#DBAD0A
background
#FFFBFB
surface
#FFF6F7
border
#D7D0D0
text
#181112
muted
#868081

Preview Lab

Preview with #F28FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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