#F152E2#F152E2

#F152E2 is a light, highly saturated purple. Relative luminance 0.302; OKLCH L 70.3% C 0.247 H 331.9°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#F152E2
RGBrgb(241, 82, 226)
HSLhsl(306, 85%, 63%)
HSVhsv(306, 66%, 95%)
CMYKcmyk(0%, 66%, 6.2%, 5.5%)
CIE-LABlab(61.85, 76.02, -42.38)
CIE-LCHlch(61.85, 87.04, 330.86°)
OKLaboklab(70.34% 0.2176 -0.1163)
OKLCHoklch(70.34% 0.247 331.9)
XYZxyz(53.0204, 30.2305, 74.9793)
Luminance0.3023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F152E2 #52F161
analogous
#B052F1 #F152E2 #F15292
triadic
#F152E2 #E2F152 #52E2F1
tetradic
#F152E2 #F1B052 #52F161 #5292F1
square
#F152E2 #F1B052 #52F161 #5292F1
split-complementary
#F152E2 #92F152 #52F1B0
monochromatic
#BA0FA9 #EC19D9 #F152E2 #F68BEB #FAC3F5

Accessibility & contrast

On white

2.98
#F152E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#F152E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F152E2
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F152E2#FFFFFF#000000##000000
##F152E21.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4987E6
Deuteranopia (green-blind)
#829DDE
Tritanopia (blue-blind)
#FB6293
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #f152e2;
/* rgb */ color: rgb(241, 82, 226);
/* oklch */ color: oklch(70.3% 0.247 331.9);
Tailwind
colors: {
  custom: {
    50: '#f98eeb',
    500: '#f152e2',
    950: '#000000',
  },
}
SCSS
$custom: #f152e2;
$custom-light: #f98eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#f152e2",
  "rgb": {
    "r": 241,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 305.66,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.70344,
    "c": 0.24679,
    "h": 331.9
  },
  "luminance": 0.30226
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F152E2

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

Preview Lab → · Contrast checker → · Palette generator →

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