#F28178#F28178

#F28178 is a light, vivid red. Relative luminance 0.359; OKLCH L 72.7% C 0.140 H 25.8°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#F28178
RGBrgb(242, 129, 120)
HSLhsl(4, 82%, 71%)
HSVhsv(4, 50%, 95%)
CMYKcmyk(0%, 46.7%, 50.4%, 5.1%)
CIE-LABlab(66.47, 42.30, 24.51)
CIE-LCHlch(66.47, 48.89, 30.09°)
OKLaboklab(72.71% 0.126 0.061)
OKLCHoklch(72.71% 0.14 25.8)
XYZxyz(47.8617, 35.9388, 22.1820)
Luminance0.3593 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28178 #78E9F2
analogous
#F278AC #F28178 #F2BE78
triadic
#F28178 #78F281 #8178F2
tetradic
#F28178 #ACF278 #78E9F2 #BE78F2
square
#F28178 #ACF278 #78E9F2 #BE78F2
split-complementary
#F28178 #78F2BE #78ACF2
monochromatic
#DB2415 #ED4D40 #F28178 #F7B5B0 #FCE5E3

Accessibility & contrast

On white

2.57
#F28178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#F28178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28178
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28178#FFFFFF#000000##000000
##F281781.002.578.198.19
#FFFFFF2.571.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B9377
Deuteranopia (green-blind)
#B7AB76
Tritanopia (blue-blind)
#FF707F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f28178;
/* rgb */ color: rgb(242, 129, 120);
/* oklch */ color: oklch(72.7% 0.140 25.8);
Tailwind
colors: {
  custom: {
    50: '#fba79f',
    500: '#f28178',
    950: '#000000',
  },
}
SCSS
$custom: #f28178;
$custom-light: #fba79f;
$custom-dark: #000000;
JSON
{
  "hex": "#f28178",
  "rgb": {
    "r": 242,
    "g": 129,
    "b": 120
  },
  "hsl": {
    "h": 4.426,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.7271,
    "c": 0.14001,
    "h": 25.8
  },
  "luminance": 0.35934
}

Semantic roles & 50–950 ramp

primary
#F28178
secondary
#D3F1F3
accent
#CFDF07
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#18100E
muted
#867F7E

Preview Lab

Preview with #F28178

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

Preview Lab → · Contrast checker → · Palette generator →

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