#F252D4#F252D4

#F252D4 is a light, highly saturated pink. Relative luminance 0.297; OKLCH L 69.8% C 0.237 H 336.2°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#F252D4
RGBrgb(242, 82, 212)
HSLhsl(311, 86%, 64%)
HSVhsv(311, 66%, 95%)
CMYKcmyk(0%, 66.1%, 12.4%, 5.1%)
CIE-LABlab(61.37, 74.19, -35.26)
CIE-LCHlch(61.37, 82.14, 334.58°)
OKLaboklab(69.82% 0.2172 -0.0959)
OKLCHoklch(69.82% 0.237 336.2)
XYZxyz(51.5196, 29.6697, 65.2880)
Luminance0.2967 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F252D4 #52F270
analogous
#C052F2 #F252D4 #F25284
triadic
#F252D4 #D4F252 #52D4F2
tetradic
#F252D4 #F2C052 #52F270 #5284F2
square
#F252D4 #F2C052 #52F270 #5284F2
split-complementary
#F252D4 #84F252 #52F2C0
monochromatic
#BC0E9B #EE19C6 #F252D4 #F68BE2 #FBC4F0

Accessibility & contrast

On white

3.03
#F252D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#F252D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F252D4
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F252D4#FFFFFF#000000##000000
##F252D41.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5485D8
Deuteranopia (green-blind)
#899DD0
Tritanopia (blue-blind)
#FE5C8C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #f252d4;
/* rgb */ color: rgb(242, 82, 212);
/* oklch */ color: oklch(69.8% 0.237 336.2);
Tailwind
colors: {
  custom: {
    50: '#fa8ee1',
    500: '#f252d4',
    950: '#000000',
  },
}
SCSS
$custom: #f252d4;
$custom-light: #fa8ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#f252d4",
  "rgb": {
    "r": 242,
    "g": 82,
    "b": 212
  },
  "hsl": {
    "h": 311.25,
    "s": 86.022,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69815,
    "c": 0.23745,
    "h": 336.2
  },
  "luminance": 0.29665
}

Semantic roles & 50–950 ramp

primary
#F252D4
secondary
#B4ECBE
accent
#E32D03
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #F252D4

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

Preview Lab → · Contrast checker → · Palette generator →

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