#FF9FE2#FF9FE2

#FF9FE2 is a light, vivid pink. Relative luminance 0.515; OKLCH L 82.0% C 0.140 H 338.9°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#FF9FE2
RGBrgb(255, 159, 226)
HSLhsl(318, 100%, 81%)
HSVhsv(318, 38%, 100%)
CMYKcmyk(0%, 37.6%, 11.4%, 0%)
CIE-LABlab(77.01, 44.88, -18.85)
CIE-LCHlch(77.01, 48.68, 337.22°)
OKLaboklab(81.96% 0.1306 -0.0503)
OKLCHoklch(81.96% 0.14 338.9)
XYZxyz(67.3657, 51.5510, 78.3388)
Luminance0.5155 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF9FE2 #9FFFBC
analogous
#EC9FFF #FF9FE2 #FF9FB2
triadic
#FF9FE2 #E2FF9F #9FE2FF
tetradic
#FF9FE2 #FFEC9F #9FFFBC #9FB2FF
square
#FF9FE2 #FFEC9F #9FFFBC #9FB2FF
split-complementary
#FF9FE2 #B2FF9F #9FFFEC
monochromatic
#FF25BD #FF62D0 #FF9FE2 #FFDCF4 #FFE0F6

Accessibility & contrast

On white

1.86
#FF9FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#FF9FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF9FE2
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF9FE2#FFFFFF#000000##000000
##FF9FE21.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2B5E4
Deuteranopia (green-blind)
#BAC4DF
Tritanopia (blue-blind)
#FFA1B7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ff9fe2;
/* rgb */ color: rgb(255, 159, 226);
/* oklch */ color: oklch(82.0% 0.140 338.9);
Tailwind
colors: {
  custom: {
    50: '#ffbdeb',
    500: '#ff9fe2',
    950: '#000000',
  },
}
SCSS
$custom: #ff9fe2;
$custom-light: #ffbdeb;
$custom-dark: #000000;
JSON
{
  "hex": "#ff9fe2",
  "rgb": {
    "r": 255,
    "g": 159,
    "b": 226
  },
  "hsl": {
    "h": 318.125,
    "s": 100,
    "l": 81.176
  },
  "oklch": {
    "l": 0.81963,
    "c": 0.13999,
    "h": 338.9
  },
  "luminance": 0.51547
}

Semantic roles & 50–950 ramp

primary
#FF9FE2
secondary
#5FE387
accent
#E64500
background
#FFFDFE
surface
#FFF8FD
border
#D7D1D5
text
#181216
muted
#868284

Preview Lab

Preview with #FF9FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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