#FB7A8F#FB7A8F

#FB7A8F is a light, vivid red. Relative luminance 0.364; OKLCH L 73.4% C 0.158 H 11.6°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#FB7A8F
RGBrgb(251, 122, 143)
HSLhsl(350, 94%, 73%)
HSVhsv(350, 51%, 98%)
CMYKcmyk(0%, 51.4%, 43%, 1.6%)
CIE-LABlab(66.84, 51.11, 12.27)
CIE-LCHlch(66.84, 52.56, 13.50°)
OKLaboklab(73.39% 0.1548 0.0318)
OKLCHoklch(73.39% 0.158 11.6)
XYZxyz(51.7044, 36.4169, 30.2875)
Luminance0.3641 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7A8F #7AFBE6
analogous
#FB7ACF #FB7A8F #FBA67A
triadic
#FB7A8F #8FFB7A #7A8FFB
tetradic
#FB7A8F #CFFB7A #7AFBE6 #A67AFB
square
#FB7A8F #CFFB7A #7AFBE6 #A67AFB
split-complementary
#FB7A8F #7AFBA6 #7ACFFB
monochromatic
#F3072E #F93F5D #FB7A8F #FDB5C1 #FEE1E6

Accessibility & contrast

On white

2.54
#FB7A8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#FB7A8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7A8F
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7A8F#FFFFFF#000000##000000
##FB7A8F1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94938F
Deuteranopia (green-blind)
#B4AC8C
Tritanopia (blue-blind)
#FF6B82
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #fb7a8f;
/* rgb */ color: rgb(251, 122, 143);
/* oklch */ color: oklch(73.4% 0.158 11.6);
Tailwind
colors: {
  custom: {
    50: '#ffa4af',
    500: '#fb7a8f',
    950: '#000000',
  },
}
SCSS
$custom: #fb7a8f;
$custom-light: #ffa4af;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7a8f",
  "rgb": {
    "r": 251,
    "g": 122,
    "b": 143
  },
  "hsl": {
    "h": 350.233,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73394,
    "c": 0.15805,
    "h": 11.6
  },
  "luminance": 0.36411
}

Semantic roles & 50–950 ramp

primary
#FB7A8F
secondary
#D5F6F1
accent
#E6C000
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#190F10
muted
#877F7F

Preview Lab

Preview with #FB7A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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