#F28FA7#F28FA7

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

Color values

HEX#F28FA7
RGBrgb(242, 143, 167)
HSLhsl(345, 79%, 75%)
HSVhsv(345, 41%, 95%)
CMYKcmyk(0%, 40.9%, 31%, 5.1%)
CIE-LABlab(70.40, 40.22, 3.70)
CIE-LCHlch(70.40, 40.39, 5.26°)
OKLaboklab(76.04% 0.1219 0.0102)
OKLCHoklch(76.04% 0.122 4.8)
XYZxyz(53.4174, 41.3164, 41.7132)
Luminance0.4131 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28FA7 #8FF2DA
analogous
#F28FD8 #F28FA7 #F2A98F
triadic
#F28FA7 #A7F28F #8FA7F2
tetradic
#F28FA7 #D8F28F #8FF2DA #A98FF2
square
#F28FA7 #D8F28F #8FF2DA #A98FF2
split-complementary
#F28FA7 #8FF2A9 #8FD8F2
monochromatic
#E52151 #EC587C #F28FA7 #F8C6D2 #FCE4E9

Accessibility & contrast

On white

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

On black

9.26
#F28FA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28FA7
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28FA7#FFFFFF#000000##000000
##F28FA71.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f28fa7;
/* rgb */ color: rgb(242, 143, 167);
/* oklch */ color: oklch(76.0% 0.122 4.8);
Tailwind
colors: {
  custom: {
    50: '#f9b1c1',
    500: '#f28fa7',
    950: '#000000',
  },
}
SCSS
$custom: #f28fa7;
$custom-light: #f9b1c1;
$custom-dark: #000000;
JSON
{
  "hex": "#f28fa7",
  "rgb": {
    "r": 242,
    "g": 143,
    "b": 167
  },
  "hsl": {
    "h": 345.455,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.76039,
    "c": 0.12232,
    "h": 4.8
  },
  "luminance": 0.41312
}

Semantic roles & 50–950 ramp

primary
#F28FA7
secondary
#D7F4ED
accent
#DBA90A
background
#FFFBFB
surface
#FFF6F7
border
#D7D0D0
text
#181112
muted
#868081

Preview Lab

Preview with #F28FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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