#FF8DEC#FF8DEC

#FF8DEC is a light, vivid pink. Relative luminance 0.464; OKLCH L 79.7% C 0.178 H 333.6°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#FF8DEC
RGBrgb(255, 141, 236)
HSLhsl(310, 100%, 78%)
HSVhsv(310, 45%, 100%)
CMYKcmyk(0%, 44.7%, 7.5%, 0%)
CIE-LABlab(73.78, 55.55, -29.22)
CIE-LCHlch(73.78, 62.77, 332.25°)
OKLaboklab(79.65% 0.1593 -0.0791)
OKLCHoklch(79.65% 0.178 333.6)
XYZxyz(65.9050, 46.3698, 84.8195)
Luminance0.4637 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF8DEC #8DFFA0
analogous
#D98DFF #FF8DEC #FF8DB3
triadic
#FF8DEC #ECFF8D #8DECFF
tetradic
#FF8DEC #FFD98D #8DFFA0 #8DB3FF
square
#FF8DEC #FFD98D #8DFFA0 #8DB3FF
split-complementary
#FF8DEC #B3FF8D #8DFFD9
monochromatic
#FF13D8 #FF50E2 #FF8DEC #FFCAF6 #FFE0FA

Accessibility & contrast

On white

2.04
#FF8DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#FF8DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF8DEC
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF8DEC#FFFFFF#000000##000000
##FF8DEC1.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CABEF
Deuteranopia (green-blind)
#ABBBE9
Tritanopia (blue-blind)
#FF93B2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ff8dec;
/* rgb */ color: rgb(255, 141, 236);
/* oklch */ color: oklch(79.7% 0.178 333.6);
Tailwind
colors: {
  custom: {
    50: '#ffb1f2',
    500: '#ff8dec',
    950: '#000000',
  },
}
SCSS
$custom: #ff8dec;
$custom-light: #ffb1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ff8dec",
  "rgb": {
    "r": 255,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 310,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.79653,
    "c": 0.17786,
    "h": 333.6
  },
  "luminance": 0.46366
}

Semantic roles & 50–950 ramp

primary
#FF8DEC
secondary
#D4F7DA
accent
#E62600
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #FF8DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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