#F28EA2#F28EA2

#F28EA2 is a light, vivid red. Relative luminance 0.408; OKLCH L 75.7% C 0.123 H 7.5°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#F28EA2
RGBrgb(242, 142, 162)
HSLhsl(348, 79%, 75%)
HSVhsv(348, 41%, 95%)
CMYKcmyk(0%, 41.3%, 33.1%, 5.1%)
CIE-LABlab(70.06, 40.11, 6.01)
CIE-LCHlch(70.06, 40.56, 8.52°)
OKLaboklab(75.74% 0.1216 0.0161)
OKLCHoklch(75.74% 0.123 7.5)
XYZxyz(52.8146, 40.8362, 39.2760)
Luminance0.4083 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28EA2 #8EF2DE
analogous
#F28ED4 #F28EA2 #F2AC8E
triadic
#F28EA2 #A2F28E #8EA2F2
tetradic
#F28EA2 #D4F28E #8EF2DE #AC8EF2
square
#F28EA2 #D4F28E #8EF2DE #AC8EF2
split-complementary
#F28EA2 #8EF2AC #8ED4F2
monochromatic
#E52048 #EC5775 #F28EA2 #F8C5CF #FCE4E8

Accessibility & contrast

On white

2.29
#F28EA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#F28EA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28EA2
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28EA2#FFFFFF#000000##000000
##F28EA21.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FA0A2
Deuteranopia (green-blind)
#B8B2A0
Tritanopia (blue-blind)
#FF8595
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f28ea2;
/* rgb */ color: rgb(242, 142, 162);
/* oklch */ color: oklch(75.7% 0.123 7.5);
Tailwind
colors: {
  custom: {
    50: '#f9b0bd',
    500: '#f28ea2',
    950: '#000000',
  },
}
SCSS
$custom: #f28ea2;
$custom-light: #f9b0bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f28ea2",
  "rgb": {
    "r": 242,
    "g": 142,
    "b": 162
  },
  "hsl": {
    "h": 348,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.75742,
    "c": 0.1227,
    "h": 7.5
  },
  "luminance": 0.40832
}

Semantic roles & 50–950 ramp

primary
#F28EA2
secondary
#D7F4EE
accent
#DCB20A
background
#FFFBFB
surface
#FFF6F6
border
#D7D0D0
text
#181112
muted
#868081

Preview Lab

Preview with #F28EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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