#F151F2#F151F2

#F151F2 is a light, highly saturated purple. Relative luminance 0.310; OKLCH L 71.1% C 0.260 H 327.6°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#F151F2
RGBrgb(241, 81, 242)
HSLhsl(300, 86%, 63%)
HSVhsv(300, 67%, 95%)
CMYKcmyk(0.4%, 66.5%, 0%, 5.1%)
CIE-LABlab(62.51, 78.88, -50.27)
CIE-LCHlch(62.51, 93.54, 327.49°)
OKLaboklab(71.07% 0.2195 -0.1391)
OKLCHoklch(71.07% 0.26 327.6)
XYZxyz(55.2443, 31.0002, 87.0611)
Luminance0.3100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F151F2 #52F251
analogous
#A051F2 #F151F2 #F251A3
triadic
#F151F2 #F2F151 #51F2F1
tetradic
#F151F2 #F2A051 #52F251 #51A3F2
square
#F151F2 #F2A051 #52F251 #51A3F2
split-complementary
#F151F2 #A3F251 #51F2A0
monochromatic
#BA0EBB #EC18EE #F151F2 #F68AF6 #FAC3FB

Accessibility & contrast

On white

2.92
#F151F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#F151F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F151F2
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F151F2#FFFFFF#000000##000000
##F151F21.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#378AF7
Deuteranopia (green-blind)
#799EEE
Tritanopia (blue-blind)
#F8689C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #f151f2;
/* rgb */ color: rgb(241, 81, 242);
/* oklch */ color: oklch(71.1% 0.260 327.6);
Tailwind
colors: {
  custom: {
    50: '#fa8ef7',
    500: '#f151f2',
    950: '#000000',
  },
}
SCSS
$custom: #f151f2;
$custom-light: #fa8ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#f151f2",
  "rgb": {
    "r": 241,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 299.627,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.71071,
    "c": 0.25988,
    "h": 327.6
  },
  "luminance": 0.30996
}

Semantic roles & 50–950 ramp

primary
#F151F2
secondary
#B3ECB3
accent
#E30304
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180D17
muted
#867E85

Preview Lab

Preview with #F151F2

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

Preview Lab → · Contrast checker → · Palette generator →

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