#F152E3#F152E3

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

Color values

HEX#F152E3
RGBrgb(241, 82, 227)
HSLhsl(305, 85%, 63%)
HSVhsv(305, 66%, 95%)
CMYKcmyk(0%, 66%, 5.8%, 5.5%)
CIE-LABlab(61.90, 76.18, -42.87)
CIE-LCHlch(61.90, 87.41, 330.63°)
OKLaboklab(70.39% 0.2177 -0.1177)
OKLCHoklch(70.39% 0.248 331.6)
XYZxyz(53.1580, 30.2855, 75.7041)
Luminance0.3028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F152E3 #52F160
analogous
#AF52F1 #F152E3 #F15293
triadic
#F152E3 #E3F152 #52E3F1
tetradic
#F152E3 #F1AF52 #52F160 #5293F1
square
#F152E3 #F1AF52 #52F160 #5293F1
split-complementary
#F152E3 #93F152 #52F1AF
monochromatic
#BA0FAB #EC19DA #F152E3 #F68BEC #FAC3F5

Accessibility & contrast

On white

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

On black

7.06
#F152E3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F152E3
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F152E3#FFFFFF#000000##000000
##F152E31.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4887E7
Deuteranopia (green-blind)
#819DDF
Tritanopia (blue-blind)
#FB6294
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #f152e3;
/* rgb */ color: rgb(241, 82, 227);
/* oklch */ color: oklch(70.4% 0.248 331.6);
Tailwind
colors: {
  custom: {
    50: '#f98eec',
    500: '#f152e3',
    950: '#000000',
  },
}
SCSS
$custom: #f152e3;
$custom-light: #f98eec;
$custom-dark: #000000;
JSON
{
  "hex": "#f152e3",
  "rgb": {
    "r": 241,
    "g": 82,
    "b": 227
  },
  "hsl": {
    "h": 305.283,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.70393,
    "c": 0.24752,
    "h": 331.6
  },
  "luminance": 0.30281
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F152E3

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

Preview Lab → · Contrast checker → · Palette generator →

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