#FB7A98#FB7A98

#FB7A98 is a light, vivid red. Relative luminance 0.367; OKLCH L 73.6% C 0.159 H 7.2°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#FB7A98
RGBrgb(251, 122, 152)
HSLhsl(346, 94%, 73%)
HSVhsv(346, 51%, 98%)
CMYKcmyk(0%, 51.4%, 39.4%, 1.6%)
CIE-LABlab(67.05, 52.04, 7.48)
CIE-LCHlch(67.05, 52.57, 8.17°)
OKLaboklab(73.63% 0.1581 0.0199)
OKLCHoklch(73.63% 0.159 7.2)
XYZxyz(52.4137, 36.7006, 34.0233)
Luminance0.3669 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7A98 #7AFBDD
analogous
#FB7AD8 #FB7A98 #FB9C7A
triadic
#FB7A98 #98FB7A #7A98FB
tetradic
#FB7A98 #D8FB7A #7AFBDD #9C7AFB
square
#FB7A98 #D8FB7A #7AFBDD #9C7AFB
split-complementary
#FB7A98 #7AFB9C #7AD8FB
monochromatic
#F3073E #F93F6A #FB7A98 #FDB5C6 #FEE1E8

Accessibility & contrast

On white

2.52
#FB7A98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#FB7A98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7A98
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7A98#FFFFFF#000000##000000
##FB7A981.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#929499
Deuteranopia (green-blind)
#B3AD95
Tritanopia (blue-blind)
#FF6D85
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #fb7a98;
/* rgb */ color: rgb(251, 122, 152);
/* oklch */ color: oklch(73.6% 0.159 7.2);
Tailwind
colors: {
  custom: {
    50: '#ffa4b6',
    500: '#fb7a98',
    950: '#000000',
  },
}
SCSS
$custom: #fb7a98;
$custom-light: #ffa4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7a98",
  "rgb": {
    "r": 251,
    "g": 122,
    "b": 152
  },
  "hsl": {
    "h": 346.047,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73626,
    "c": 0.15935,
    "h": 7.2
  },
  "luminance": 0.36695
}

Semantic roles & 50–950 ramp

primary
#FB7A98
secondary
#D5F6EE
accent
#E6B000
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#190F11
muted
#877F80

Preview Lab

Preview with #FB7A98

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

Preview Lab → · Contrast checker → · Palette generator →

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