#F940A2#F940A2

#F940A2 is a light, highly saturated pink. Relative luminance 0.264; OKLCH L 67.3% C 0.234 H 353.1°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#F940A2
RGBrgb(249, 64, 162)
HSLhsl(328, 94%, 61%)
HSVhsv(328, 74%, 98%)
CMYKcmyk(0%, 74.3%, 34.9%, 2.4%)
CIE-LABlab(58.43, 75.74, -10.95)
CIE-LCHlch(58.43, 76.53, 351.77°)
OKLaboklab(67.26% 0.2323 -0.0281)
OKLCHoklch(67.26% 0.234 353.1)
XYZxyz(47.4249, 26.4209, 36.7777)
Luminance0.2641 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F940A2 #40F997
analogous
#F340F9 #F940A2 #F94046
triadic
#F940A2 #A2F940 #40A2F9
tetradic
#F940A2 #F9F340 #40F997 #4046F9
square
#F940A2 #F9F340 #40F997 #4046F9
split-complementary
#F940A2 #46F940 #40F9F3
monochromatic
#B90665 #F40885 #F940A2 #FB7BBF #FDB7DC

Accessibility & contrast

On white

3.34
#F940A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#F940A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F940A2
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F940A2#FFFFFF#000000##000000
##F940A21.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6377A5
Deuteranopia (green-blind)
#97999E
Tritanopia (blue-blind)
#FF2D6C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #f940a2;
/* rgb */ color: rgb(249, 64, 162);
/* oklch */ color: oklch(67.3% 0.234 353.1);
Tailwind
colors: {
  custom: {
    50: '#ff85bd',
    500: '#f940a2',
    950: '#000000',
  },
}
SCSS
$custom: #f940a2;
$custom-light: #ff85bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f940a2",
  "rgb": {
    "r": 249,
    "g": 64,
    "b": 162
  },
  "hsl": {
    "h": 328.216,
    "s": 93.909,
    "l": 61.373
  },
  "oklch": {
    "l": 0.67259,
    "c": 0.23403,
    "h": 353.1
  },
  "luminance": 0.26415
}

Semantic roles & 50–950 ramp

primary
#F940A2
secondary
#A8EDC8
accent
#E66C00
background
#FFF8FB
surface
#FFF0F6
border
#D7CBD0
text
#190C12
muted
#877D81

Preview Lab

Preview with #F940A2

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

Preview Lab → · Contrast checker → · Palette generator →

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