#F152E4#F152E4

#F152E4 is a light, highly saturated purple. Relative luminance 0.303; OKLCH L 70.4% C 0.248 H 331.3°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#F152E4
RGBrgb(241, 82, 228)
HSLhsl(305, 85%, 63%)
HSVhsv(305, 66%, 95%)
CMYKcmyk(0%, 66%, 5.4%, 5.5%)
CIE-LABlab(61.95, 76.33, -43.36)
CIE-LCHlch(61.95, 87.78, 330.40°)
OKLaboklab(70.44% 0.2178 -0.1191)
OKLCHoklch(70.44% 0.248 331.3)
XYZxyz(53.2964, 30.3409, 76.4331)
Luminance0.3034 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F152E4 #52F15F
analogous
#AF52F1 #F152E4 #F15294
triadic
#F152E4 #E4F152 #52E4F1
tetradic
#F152E4 #F1AF52 #52F15F #5294F1
square
#F152E4 #F1AF52 #52F15F #5294F1
split-complementary
#F152E4 #94F152 #52F1AF
monochromatic
#BA0FAC #EC19DB #F152E4 #F68BED #FAC3F6

Accessibility & contrast

On white

2.97
#F152E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#F152E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F152E4
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F152E4#FFFFFF#000000##000000
##F152E41.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4787E8
Deuteranopia (green-blind)
#819EE0
Tritanopia (blue-blind)
#FA6394
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #f152e4;
/* rgb */ color: rgb(241, 82, 228);
/* oklch */ color: oklch(70.4% 0.248 331.3);
Tailwind
colors: {
  custom: {
    50: '#f98eed',
    500: '#f152e4',
    950: '#000000',
  },
}
SCSS
$custom: #f152e4;
$custom-light: #f98eed;
$custom-dark: #000000;
JSON
{
  "hex": "#f152e4",
  "rgb": {
    "r": 241,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 304.906,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.70443,
    "c": 0.24825,
    "h": 331.3
  },
  "luminance": 0.30337
}

Semantic roles & 50–950 ramp

primary
#F152E4
secondary
#B3ECB8
accent
#E21604
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #F152E4

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

Preview Lab → · Contrast checker → · Palette generator →

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