#F252C5#F252C5

#F252C5 is a light, highly saturated pink. Relative luminance 0.289; OKLCH L 69.1% C 0.228 H 340.9°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#F252C5
RGBrgb(242, 82, 197)
HSLhsl(317, 86%, 64%)
HSVhsv(317, 66%, 95%)
CMYKcmyk(0%, 66.1%, 18.6%, 5.1%)
CIE-LABlab(60.74, 72.10, -27.73)
CIE-LCHlch(60.74, 77.25, 338.96°)
OKLaboklab(69.15% 0.215 -0.0746)
OKLCHoklch(69.15% 0.228 340.9)
XYZxyz(49.7146, 28.9477, 55.7817)
Luminance0.2894 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F252C5 #52F27F
analogous
#CF52F2 #F252C5 #F25275
triadic
#F252C5 #C5F252 #52C5F2
tetradic
#F252C5 #F2CF52 #52F27F #5275F2
square
#F252C5 #F2CF52 #52F27F #5275F2
split-complementary
#F252C5 #75F252 #52F2CF
monochromatic
#BC0E8B #EE19B2 #F252C5 #F68BD8 #FBC4EB

Accessibility & contrast

On white

3.09
#F252C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#F252C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F252C5
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F252C5#FFFFFF#000000##000000
##F252C51.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D82C8
Deuteranopia (green-blind)
#8E9CC1
Tritanopia (blue-blind)
#FF5584
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #f252c5;
/* rgb */ color: rgb(242, 82, 197);
/* oklch */ color: oklch(69.1% 0.228 340.9);
Tailwind
colors: {
  custom: {
    50: '#fa8dd6',
    500: '#f252c5',
    950: '#000000',
  },
}
SCSS
$custom: #f252c5;
$custom-light: #fa8dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#f252c5",
  "rgb": {
    "r": 242,
    "g": 82,
    "b": 197
  },
  "hsl": {
    "h": 316.875,
    "s": 86.022,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69147,
    "c": 0.22755,
    "h": 340.9
  },
  "luminance": 0.28943
}

Semantic roles & 50–950 ramp

primary
#F252C5
secondary
#B4ECC3
accent
#E34203
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #F252C5

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

Preview Lab → · Contrast checker → · Palette generator →

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