#FB6AF2#FB6AF2

#FB6AF2 is a light, highly saturated purple. Relative luminance 0.372; OKLCH L 74.9% C 0.233 H 330.1°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#FB6AF2
RGBrgb(251, 106, 242)
HSLhsl(304, 95%, 70%)
HSVhsv(304, 58%, 98%)
CMYKcmyk(0%, 57.8%, 3.6%, 1.6%)
CIE-LABlab(67.45, 71.50, -42.39)
CIE-LCHlch(67.45, 83.12, 329.34°)
OKLaboklab(74.94% 0.2022 -0.1163)
OKLCHoklch(74.94% 0.233 330.1)
XYZxyz(60.9643, 37.2322, 87.9627)
Luminance0.3723 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB6AF2 #6AFB73
analogous
#BB6AFB #FB6AF2 #FB6AAA
triadic
#FB6AF2 #F2FB6A #6AF2FB
tetradic
#FB6AF2 #FBBB6A #6AFB73 #6AAAFB
square
#FB6AF2 #FBBB6A #6AFB73 #6AAAFB
split-complementary
#FB6AF2 #AAFB6A #6AFBBB
monochromatic
#E406D7 #F92EED #FB6AF2 #FDA6F7 #FEE1FC

Accessibility & contrast

On white

2.49
#FB6AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#FB6AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB6AF2
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB6AF2#FFFFFF#000000##000000
##FB6AF21.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6098F6
Deuteranopia (green-blind)
#8FABEE
Tritanopia (blue-blind)
#FF79A5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #fb6af2;
/* rgb */ color: rgb(251, 106, 242);
/* oklch */ color: oklch(74.9% 0.233 330.1);
Tailwind
colors: {
  custom: {
    50: '#ff9cf7',
    500: '#fb6af2',
    950: '#000000',
  },
}
SCSS
$custom: #fb6af2;
$custom-light: #ff9cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#fb6af2",
  "rgb": {
    "r": 251,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 303.724,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.74943,
    "c": 0.23332,
    "h": 330.1
  },
  "luminance": 0.37228
}

Semantic roles & 50–950 ramp

primary
#FB6AF2
secondary
#CCF5CF
accent
#E60E00
background
#FFFAFF
surface
#FFF3FE
border
#D7CDD6
text
#180F17
muted
#867F85

Preview Lab

Preview with #FB6AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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