#FB98A2#FB98A2

#FB98A2 is a light, moderate red. Relative luminance 0.456; OKLCH L 78.4% C 0.119 H 13.7°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#FB98A2
RGBrgb(251, 152, 162)
HSLhsl(354, 93%, 79%)
HSVhsv(354, 39%, 98%)
CMYKcmyk(0%, 39.4%, 35.5%, 1.6%)
CIE-LABlab(73.27, 38.17, 10.75)
CIE-LCHlch(73.27, 39.66, 15.72°)
OKLaboklab(78.43% 0.1157 0.0281)
OKLCHoklch(78.43% 0.119 13.7)
XYZxyz(57.5359, 45.5790, 39.9427)
Luminance0.4557 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB98A2 #98FBF1
analogous
#FB98D4 #FB98A2 #FBC098
triadic
#FB98A2 #A2FB98 #98A2FB
tetradic
#FB98A2 #D4FB98 #98FBF1 #C098FB
square
#FB98A2 #D4FB98 #98FBF1 #C098FB
split-complementary
#FB98A2 #98FBC0 #98D4FB
monochromatic
#F62238 #F95D6D #FB98A2 #FDD3D7 #FEE2E4

Accessibility & contrast

On white

2.08
#FB98A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#FB98A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB98A2
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB98A2#FFFFFF#000000##000000
##FB98A21.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAA8A2
Deuteranopia (green-blind)
#C2BBA0
Tritanopia (blue-blind)
#FF8E9C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #fb98a2;
/* rgb */ color: rgb(251, 152, 162);
/* oklch */ color: oklch(78.4% 0.119 13.7);
Tailwind
colors: {
  custom: {
    50: '#ffb7bd',
    500: '#fb98a2',
    950: '#000000',
  },
}
SCSS
$custom: #fb98a2;
$custom-light: #ffb7bd;
$custom-dark: #000000;
JSON
{
  "hex": "#fb98a2",
  "rgb": {
    "r": 251,
    "g": 152,
    "b": 162
  },
  "hsl": {
    "h": 353.939,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.78425,
    "c": 0.11909,
    "h": 13.7
  },
  "luminance": 0.45574
}

Semantic roles & 50–950 ramp

primary
#FB98A2
secondary
#D5F6F3
accent
#E6CE00
background
#FFFBFB
surface
#FFF6F6
border
#D7D0D0
text
#181112
muted
#868081

Preview Lab

Preview with #FB98A2

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

Preview Lab → · Contrast checker → · Palette generator →

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