#F296DF#F296DF

#F296DF is a light, vivid pink. Relative luminance 0.460; OKLCH L 79.0% C 0.142 H 334.8°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#F296DF
RGBrgb(242, 150, 223)
HSLhsl(312, 78%, 77%)
HSVhsv(312, 38%, 95%)
CMYKcmyk(0%, 38%, 7.9%, 5.1%)
CIE-LABlab(73.56, 44.89, -22.59)
CIE-LCHlch(73.56, 50.25, 333.29°)
OKLaboklab(79% 0.1289 -0.0607)
OKLCHoklch(79% 0.142 334.8)
XYZxyz(60.8432, 46.0208, 75.4758)
Luminance0.4602 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F296DF #96F2A9
analogous
#D796F2 #F296DF #F296B1
triadic
#F296DF #DFF296 #96DFF2
tetradic
#F296DF #F2D796 #96F2A9 #96B1F2
square
#F296DF #F2D796 #96F2A9 #96B1F2
split-complementary
#F296DF #B1F296 #96F2D7
monochromatic
#E529BE #EB60CE #F296DF #F9CCF0 #FCE4F7

Accessibility & contrast

On white

2.06
#F296DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#F296DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F296DF
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F296DF#FFFFFF#000000##000000
##F296DF1.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#96ACE2
Deuteranopia (green-blind)
#ADBADC
Tritanopia (blue-blind)
#FA9AB1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #f296df;
/* rgb */ color: rgb(242, 150, 223);
/* oklch */ color: oklch(79.0% 0.142 334.8);
Tailwind
colors: {
  custom: {
    50: '#f8b6e9',
    500: '#f296df',
    950: '#000000',
  },
}
SCSS
$custom: #f296df;
$custom-light: #f8b6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f296df",
  "rgb": {
    "r": 242,
    "g": 150,
    "b": 223
  },
  "hsl": {
    "h": 312.391,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.78998,
    "c": 0.14248,
    "h": 334.8
  },
  "luminance": 0.46018
}

Semantic roles & 50–950 ramp

primary
#F296DF
secondary
#D8F3DD
accent
#DA360B
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #F296DF

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

Preview Lab → · Contrast checker → · Palette generator →

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