#F162DF#F162DF

#F162DF is a light, highly saturated purple. Relative luminance 0.328; OKLCH L 71.8% C 0.224 H 332.9°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#F162DF
RGBrgb(241, 98, 223)
HSLhsl(308, 84%, 66%)
HSVhsv(308, 59%, 95%)
CMYKcmyk(0%, 59.3%, 7.5%, 5.5%)
CIE-LABlab(63.97, 69.31, -37.39)
CIE-LCHlch(63.97, 78.75, 331.66°)
OKLaboklab(71.84% 0.1992 -0.1021)
OKLCHoklch(71.84% 0.224 332.9)
XYZxyz(53.9627, 32.7678, 73.2804)
Luminance0.3276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F162DF #62F174
analogous
#BB62F1 #F162DF #F16298
triadic
#F162DF #DFF162 #62DFF1
tetradic
#F162DF #F1BB62 #62F174 #6298F1
square
#F162DF #F1BB62 #62F174 #6298F1
split-complementary
#F162DF #98F162 #62F1BB
monochromatic
#C712B0 #EC2AD4 #F162DF #F69AEA #FBD2F6

Accessibility & contrast

On white

2.78
#F162DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#F162DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F162DF
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F162DF#FFFFFF#000000##000000
##F162DF1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8EE3
Deuteranopia (green-blind)
#8BA2DB
Tritanopia (blue-blind)
#FB6D98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #f162df;
/* rgb */ color: rgb(241, 98, 223);
/* oklch */ color: oklch(71.8% 0.224 332.9);
Tailwind
colors: {
  custom: {
    50: '#f996e9',
    500: '#f162df',
    950: '#000000',
  },
}
SCSS
$custom: #f162df;
$custom-light: #f996e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f162df",
  "rgb": {
    "r": 241,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 307.552,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71842,
    "c": 0.22385,
    "h": 332.9
  },
  "luminance": 0.32764
}

Semantic roles & 50–950 ramp

primary
#F162DF
secondary
#C0EFC6
accent
#E02105
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F162DF

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

Preview Lab → · Contrast checker → · Palette generator →

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