#FB5A7F#FB5A7F

#FB5A7F is a light, vivid red. Relative luminance 0.294; OKLCH L 69.0% C 0.197 H 10.1°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#FB5A7F
RGBrgb(251, 90, 127)
HSLhsl(346, 95%, 67%)
HSVhsv(346, 64%, 98%)
CMYKcmyk(0%, 64.1%, 49.4%, 1.6%)
CIE-LABlab(61.10, 63.84, 13.38)
CIE-LCHlch(61.10, 65.22, 11.84°)
OKLaboklab(68.97% 0.1937 0.0343)
OKLCHoklch(68.97% 0.197 10.1)
XYZxyz(47.2745, 29.3599, 23.2521)
Luminance0.2935 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5A7F #5AFBD6
analogous
#FB5AD0 #FB5A7F #FB865A
triadic
#FB5A7F #7FFB5A #5A7FFB
tetradic
#FB5A7F #D0FB5A #5AFBD6 #865AFB
square
#FB5A7F #D0FB5A #5AFBD6 #865AFB
split-complementary
#FB5A7F #5AFB86 #5AD0FB
monochromatic
#D50535 #FA1E51 #FB5A7F #FC96AD #FED2DC

Accessibility & contrast

On white

3.06
#FB5A7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#FB5A7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FB5A7F
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5A7F#FFFFFF#000000##000000
##FB5A7F1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7F80
Deuteranopia (green-blind)
#A89F7B
Tritanopia (blue-blind)
#FF4068
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #fb5a7f;
/* rgb */ color: rgb(251, 90, 127);
/* oklch */ color: oklch(69.0% 0.197 10.1);
Tailwind
colors: {
  custom: {
    50: '#ff91a3',
    500: '#fb5a7f',
    950: '#000000',
  },
}
SCSS
$custom: #fb5a7f;
$custom-light: #ff91a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5a7f",
  "rgb": {
    "r": 251,
    "g": 90,
    "b": 127
  },
  "hsl": {
    "h": 346.211,
    "s": 95.266,
    "l": 66.863
  },
  "oklch": {
    "l": 0.68969,
    "c": 0.19668,
    "h": 10.1
  },
  "luminance": 0.29354
}

Semantic roles & 50–950 ramp

primary
#FB5A7F
secondary
#BFF2E6
accent
#E6B100
background
#FFF9FA
surface
#FFF2F3
border
#D7CCCD
text
#190D0F
muted
#877E7F

Preview Lab

Preview with #FB5A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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