#F28EA7#F28EA7

#F28EA7 is a light, vivid red. Relative luminance 0.410; OKLCH L 75.9% C 0.124 H 4.4°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#F28EA7
RGBrgb(242, 142, 167)
HSLhsl(345, 79%, 75%)
HSVhsv(345, 41%, 95%)
CMYKcmyk(0%, 41.3%, 31%, 5.1%)
CIE-LABlab(70.19, 40.73, 3.40)
CIE-LCHlch(70.19, 40.88, 4.77°)
OKLaboklab(75.88% 0.1235 0.0094)
OKLCHoklch(75.88% 0.124 4.4)
XYZxyz(53.2679, 41.0175, 41.6634)
Luminance0.4101 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28EA7 #8EF2D9
analogous
#F28ED9 #F28EA7 #F2A78E
triadic
#F28EA7 #A7F28E #8EA7F2
tetradic
#F28EA7 #D9F28E #8EF2D9 #A78EF2
square
#F28EA7 #D9F28E #8EF2D9 #A78EF2
split-complementary
#F28EA7 #8EF2A7 #8ED9F2
monochromatic
#E52052 #EC577C #F28EA7 #F8C5D2 #FCE4EA

Accessibility & contrast

On white

2.28
#F28EA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#F28EA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28EA7
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28EA7#FFFFFF#000000##000000
##F28EA71.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f28ea7;
/* rgb */ color: rgb(242, 142, 167);
/* oklch */ color: oklch(75.9% 0.124 4.4);
Tailwind
colors: {
  custom: {
    50: '#f9b1c1',
    500: '#f28ea7',
    950: '#000000',
  },
}
SCSS
$custom: #f28ea7;
$custom-light: #f9b1c1;
$custom-dark: #000000;
JSON
{
  "hex": "#f28ea7",
  "rgb": {
    "r": 242,
    "g": 142,
    "b": 167
  },
  "hsl": {
    "h": 345,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.75881,
    "c": 0.12381,
    "h": 4.4
  },
  "luminance": 0.41013
}

Semantic roles & 50–950 ramp

primary
#F28EA7
secondary
#D7F4ED
accent
#DCA70A
background
#FFFBFB
surface
#FFF6F7
border
#D7D0D0
text
#181112
muted
#868081

Preview Lab

Preview with #F28EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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