#F28C8E#F28C8E

#F28C8E is a light, vivid red. Relative luminance 0.396; OKLCH L 74.9% C 0.124 H 19.2°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#F28C8E
RGBrgb(242, 140, 142)
HSLhsl(359, 80%, 75%)
HSVhsv(359, 42%, 95%)
CMYKcmyk(0%, 42.1%, 41.3%, 5.1%)
CIE-LABlab(69.18, 38.84, 15.93)
CIE-LCHlch(69.18, 41.98, 22.30°)
OKLaboklab(74.92% 0.1173 0.0409)
OKLCHoklch(74.92% 0.124 19.2)
XYZxyz(50.8812, 39.5909, 30.5480)
Luminance0.3959 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28C8E #8CF2F0
analogous
#F28CC1 #F28C8E #F2BD8C
triadic
#F28C8E #8EF28C #8C8EF2
tetradic
#F28C8E #C1F28C #8CF2F0 #BD8CF2
square
#F28C8E #C1F28C #8CF2F0 #BD8CF2
split-complementary
#F28C8E #8CF2BD #8CC1F2
monochromatic
#E61E22 #EC5558 #F28C8E #F8C3C4 #FCE4E4

Accessibility & contrast

On white

2.35
#F28C8E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#F28C8E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28C8E
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28C8E#FFFFFF#000000##000000
##F28C8E1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19C8E
Deuteranopia (green-blind)
#BAB18C
Tritanopia (blue-blind)
#FF808D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f28c8e;
/* rgb */ color: rgb(242, 140, 142);
/* oklch */ color: oklch(74.9% 0.124 19.2);
Tailwind
colors: {
  custom: {
    50: '#f9afaf',
    500: '#f28c8e',
    950: '#000000',
  },
}
SCSS
$custom: #f28c8e;
$custom-light: #f9afaf;
$custom-dark: #000000;
JSON
{
  "hex": "#f28c8e",
  "rgb": {
    "r": 242,
    "g": 140,
    "b": 142
  },
  "hsl": {
    "h": 358.824,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74916,
    "c": 0.12418,
    "h": 19.2
  },
  "luminance": 0.39586
}

Semantic roles & 50–950 ramp

primary
#F28C8E
secondary
#D7F4F3
accent
#DCD80A
background
#FFFAFA
surface
#FFF5F4
border
#D7CFCE
text
#181010
muted
#867F7F

Preview Lab

Preview with #F28C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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