#FB7874#FB7874

#FB7874 is a light, vivid red. Relative luminance 0.352; OKLCH L 72.5% C 0.161 H 23.7°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#FB7874
RGBrgb(251, 120, 116)
HSLhsl(2, 94%, 72%)
HSVhsv(2, 54%, 98%)
CMYKcmyk(0%, 52.2%, 53.8%, 1.6%)
CIE-LABlab(65.91, 49.64, 26.22)
CIE-LCHlch(65.91, 56.14, 27.85°)
OKLaboklab(72.51% 0.1476 0.0647)
OKLCHoklch(72.51% 0.161 23.7)
XYZxyz(49.6564, 35.2088, 20.7006)
Luminance0.3520 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7874 #74F7FB
analogous
#FB74B4 #FB7874 #FBBC74
triadic
#FB7874 #74FB78 #7874FB
tetradic
#FB7874 #B4FB74 #74F7FB #BC74FB
square
#FB7874 #B4FB74 #74F7FB #BC74FB
split-complementary
#FB7874 #74FBBC #74B4FB
monochromatic
#EE0E07 #F93E39 #FB7874 #FDB2AF #FEE2E1

Accessibility & contrast

On white

2.61
#FB7874 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#FB7874 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7874
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7874#FFFFFF#000000##000000
##FB78741.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978F73
Deuteranopia (green-blind)
#B7AB71
Tritanopia (blue-blind)
#FF6378
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #fb7874;
/* rgb */ color: rgb(251, 120, 116);
/* oklch */ color: oklch(72.5% 0.161 23.7);
Tailwind
colors: {
  custom: {
    50: '#ffa29c',
    500: '#fb7874',
    950: '#000000',
  },
}
SCSS
$custom: #fb7874;
$custom-light: #ffa29c;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7874",
  "rgb": {
    "r": 251,
    "g": 120,
    "b": 116
  },
  "hsl": {
    "h": 1.778,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72513,
    "c": 0.16115,
    "h": 23.7
  },
  "luminance": 0.35203
}

Semantic roles & 50–950 ramp

primary
#FB7874
secondary
#D4F5F6
accent
#DFE600
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#190F0E
muted
#877F7E

Preview Lab

Preview with #FB7874

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

Preview Lab → · Contrast checker → · Palette generator →

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