#F28DA2#F28DA2

#F28DA2 is a light, vivid red. Relative luminance 0.405; OKLCH L 75.6% C 0.124 H 7.1°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#F28DA2
RGBrgb(242, 141, 162)
HSLhsl(348, 80%, 75%)
HSVhsv(348, 42%, 95%)
CMYKcmyk(0%, 41.7%, 33.1%, 5.1%)
CIE-LABlab(69.85, 40.63, 5.71)
CIE-LCHlch(69.85, 41.02, 8.00°)
OKLaboklab(75.58% 0.1232 0.0154)
OKLCHoklch(75.58% 0.124 7.1)
XYZxyz(52.6665, 40.5399, 39.2266)
Luminance0.4054 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28DA2 #8DF2DD
analogous
#F28DD4 #F28DA2 #F2AB8D
triadic
#F28DA2 #A2F28D #8DA2F2
tetradic
#F28DA2 #D4F28D #8DF2DD #AB8DF2
square
#F28DA2 #D4F28D #8DF2DD #AB8DF2
split-complementary
#F28DA2 #8DF2AB #8DD4F2
monochromatic
#E51F48 #EC5675 #F28DA2 #F8C4CF #FCE4E9

Accessibility & contrast

On white

2.31
#F28DA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#F28DA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28DA2
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28DA2#FFFFFF#000000##000000
##F28DA21.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E9FA3
Deuteranopia (green-blind)
#B7B2A0
Tritanopia (blue-blind)
#FF8494
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f28da2;
/* rgb */ color: rgb(242, 141, 162);
/* oklch */ color: oklch(75.6% 0.124 7.1);
Tailwind
colors: {
  custom: {
    50: '#f9b0bd',
    500: '#f28da2',
    950: '#000000',
  },
}
SCSS
$custom: #f28da2;
$custom-light: #f9b0bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f28da2",
  "rgb": {
    "r": 242,
    "g": 141,
    "b": 162
  },
  "hsl": {
    "h": 347.525,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.75583,
    "c": 0.12415,
    "h": 7.1
  },
  "luminance": 0.40536
}

Semantic roles & 50–950 ramp

primary
#F28DA2
secondary
#D7F4EE
accent
#DCB00A
background
#FFFAFB
surface
#FFF5F6
border
#D7CFD0
text
#181112
muted
#868081

Preview Lab

Preview with #F28DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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