#F18DEC#F18DEC

#F18DEC is a light, vivid purple. Relative luminance 0.438; OKLCH L 78.0% C 0.168 H 328.8°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#F18DEC
RGBrgb(241, 141, 236)
HSLhsl(303, 78%, 75%)
HSVhsv(303, 41%, 95%)
CMYKcmyk(0%, 41.5%, 2.1%, 5.5%)
CIE-LABlab(72.10, 51.40, -31.96)
CIE-LCHlch(72.10, 60.52, 328.13°)
OKLaboklab(78.04% 0.144 -0.087)
OKLCHoklch(78.04% 0.168 328.8)
XYZxyz(60.9399, 43.8097, 84.5868)
Luminance0.4381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F18DEC #8DF192
analogous
#C48DF1 #F18DEC #F18DBA
triadic
#F18DEC #ECF18D #8DECF1
tetradic
#F18DEC #F1C48D #8DF192 #8DBAF1
square
#F18DEC #F1C48D #8DF192 #8DBAF1
split-complementary
#F18DEC #BAF18D #8DF1C4
monochromatic
#E420DA #EA56E3 #F18DEC #F8C4F5 #FCE4FA

Accessibility & contrast

On white

2.15
#F18DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#F18DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F18DEC
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F18DEC#FFFFFF#000000##000000
##F18DEC1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A8EF
Deuteranopia (green-blind)
#A2B6E9
Tritanopia (blue-blind)
#F796B2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f18dec;
/* rgb */ color: rgb(241, 141, 236);
/* oklch */ color: oklch(78.0% 0.168 328.8);
Tailwind
colors: {
  custom: {
    50: '#f7b1f2',
    500: '#f18dec',
    950: '#000000',
  },
}
SCSS
$custom: #f18dec;
$custom-light: #f7b1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f18dec",
  "rgb": {
    "r": 241,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 303,
    "s": 78.125,
    "l": 74.902
  },
  "oklch": {
    "l": 0.78035,
    "c": 0.16824,
    "h": 328.8
  },
  "luminance": 0.43807
}

Semantic roles & 50–950 ramp

primary
#F18DEC
secondary
#D8F3D9
accent
#DA150B
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #F18DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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