#F162DB#F162DB

#F162DB is a light, highly saturated purple. Relative luminance 0.326; OKLCH L 71.7% C 0.221 H 334.1°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#F162DB
RGBrgb(241, 98, 219)
HSLhsl(309, 84%, 66%)
HSVhsv(309, 59%, 95%)
CMYKcmyk(0%, 59.3%, 9.1%, 5.5%)
CIE-LABlab(63.80, 68.69, -35.42)
CIE-LCHlch(63.80, 77.29, 332.72°)
OKLaboklab(71.66% 0.1986 -0.0965)
OKLCHoklch(71.66% 0.221 334.1)
XYZxyz(53.4297, 32.5547, 70.4737)
Luminance0.3255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F162DB #62F178
analogous
#C062F1 #F162DB #F16294
triadic
#F162DB #DBF162 #62DBF1
tetradic
#F162DB #F1C062 #62F178 #6294F1
square
#F162DB #F1C062 #62F178 #6294F1
split-complementary
#F162DB #94F162 #62F1C0
monochromatic
#C712AB #EC2ACE #F162DB #F69AE8 #FBD2F5

Accessibility & contrast

On white

2.80
#F162DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#F162DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F162DB
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F162DB#FFFFFF#000000##000000
##F162DB1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#608DDF
Deuteranopia (green-blind)
#8DA2D7
Tritanopia (blue-blind)
#FB6C96
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #f162db;
/* rgb */ color: rgb(241, 98, 219);
/* oklch */ color: oklch(71.7% 0.221 334.1);
Tailwind
colors: {
  custom: {
    50: '#f996e6',
    500: '#f162db',
    950: '#000000',
  },
}
SCSS
$custom: #f162db;
$custom-light: #f996e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f162db",
  "rgb": {
    "r": 241,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 309.231,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71658,
    "c": 0.22084,
    "h": 334.1
  },
  "luminance": 0.32551
}

Semantic roles & 50–950 ramp

primary
#F162DB
secondary
#C0EFC7
accent
#E02705
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F162DB

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

Preview Lab → · Contrast checker → · Palette generator →

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