#F162F2#F162F2

#F162F2 is a light, highly saturated purple. Relative luminance 0.338; OKLCH L 72.8% C 0.239 H 327.4°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#F162F2
RGBrgb(241, 98, 242)
HSLhsl(300, 85%, 67%)
HSVhsv(300, 60%, 95%)
CMYKcmyk(0.4%, 59.5%, 0%, 5.1%)
CIE-LABlab(64.84, 72.37, -46.58)
CIE-LCHlch(64.84, 86.06, 327.23°)
OKLaboklab(72.76% 0.2011 -0.1286)
OKLCHoklch(72.76% 0.239 327.4)
XYZxyz(56.6694, 33.8506, 87.5361)
Luminance0.3385 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F162F2 #63F262
analogous
#A962F2 #F162F2 #F262AB
triadic
#F162F2 #F2F162 #62F2F1
tetradic
#F162F2 #F2A962 #63F262 #62ABF2
square
#F162F2 #F2A962 #63F262 #62ABF2
split-complementary
#F162F2 #ABF262 #62F2A9
monochromatic
#C811C9 #EC29ED #F162F2 #F69BF7 #FBD3FB

Accessibility & contrast

On white

2.70
#F162F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#F162F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F162F2
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F162F2#FFFFFF#000000##000000
##F162F21.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5091F6
Deuteranopia (green-blind)
#83A4EE
Tritanopia (blue-blind)
#F874A1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f162f2;
/* rgb */ color: rgb(241, 98, 242);
/* oklch */ color: oklch(72.8% 0.239 327.4);
Tailwind
colors: {
  custom: {
    50: '#f997f7',
    500: '#f162f2',
    950: '#000000',
  },
}
SCSS
$custom: #f162f2;
$custom-light: #f997f7;
$custom-dark: #000000;
JSON
{
  "hex": "#f162f2",
  "rgb": {
    "r": 241,
    "g": 98,
    "b": 242
  },
  "hsl": {
    "h": 299.583,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.72761,
    "c": 0.23872,
    "h": 327.4
  },
  "luminance": 0.33847
}

Semantic roles & 50–950 ramp

primary
#F162F2
secondary
#C1EFC1
accent
#E10406
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #F162F2

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

Preview Lab → · Contrast checker → · Palette generator →

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