#F258D7#F258D7

#F258D7 is a light, highly saturated pink. Relative luminance 0.308; OKLCH L 70.5% C 0.232 H 335.4°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#F258D7
RGBrgb(242, 88, 215)
HSLhsl(311, 86%, 65%)
HSVhsv(311, 64%, 95%)
CMYKcmyk(0%, 63.6%, 11.2%, 5.1%)
CIE-LABlab(62.31, 72.37, -35.48)
CIE-LCHlch(62.31, 80.60, 333.88°)
OKLaboklab(70.54% 0.2109 -0.0966)
OKLCHoklch(70.54% 0.232 335.4)
XYZxyz(52.3739, 30.7673, 67.4571)
Luminance0.3076 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F258D7 #58F273
analogous
#C058F2 #F258D7 #F2588A
triadic
#F258D7 #D7F258 #58D7F2
tetradic
#F258D7 #F2C058 #58F273 #588AF2
square
#F258D7 #F2C058 #58F273 #588AF2
split-complementary
#F258D7 #8AF258 #58F2C0
monochromatic
#C10FA1 #EE1FC9 #F258D7 #F691E5 #FBCAF2

Accessibility & contrast

On white

2.94
#F258D7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#F258D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F258D7
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F258D7#FFFFFF#000000##000000
##F258D71.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5888DB
Deuteranopia (green-blind)
#8A9FD3
Tritanopia (blue-blind)
#FD6290
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #f258d7;
/* rgb */ color: rgb(242, 88, 215);
/* oklch */ color: oklch(70.5% 0.232 335.4);
Tailwind
colors: {
  custom: {
    50: '#fa91e3',
    500: '#f258d7',
    950: '#000000',
  },
}
SCSS
$custom: #f258d7;
$custom-light: #fa91e3;
$custom-dark: #000000;
JSON
{
  "hex": "#f258d7",
  "rgb": {
    "r": 242,
    "g": 88,
    "b": 215
  },
  "hsl": {
    "h": 310.519,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.70543,
    "c": 0.23198,
    "h": 335.4
  },
  "luminance": 0.30763
}

Semantic roles & 50–950 ramp

primary
#F258D7
secondary
#B8EDC2
accent
#E22A03
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180E15
muted
#867E83

Preview Lab

Preview with #F258D7

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

Preview Lab → · Contrast checker → · Palette generator →

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