#F298D2#F298D2

#F298D2 is a light, vivid pink. Relative luminance 0.460; OKLCH L 78.8% C 0.129 H 341.4°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#F298D2
RGBrgb(242, 152, 210)
HSLhsl(321, 78%, 77%)
HSVhsv(321, 37%, 95%)
CMYKcmyk(0%, 37.2%, 13.2%, 5.1%)
CIE-LABlab(73.54, 41.73, -15.48)
CIE-LCHlch(73.54, 44.51, 339.64°)
OKLaboklab(78.84% 0.1222 -0.0411)
OKLCHoklch(78.84% 0.129 341.4)
XYZxyz(59.4793, 45.9902, 66.7044)
Luminance0.4599 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F298D2 #98F2B8
analogous
#E598F2 #F298D2 #F298A5
triadic
#F298D2 #D2F298 #98D2F2
tetradic
#F298D2 #F2E598 #98F2B8 #98A5F2
square
#F298D2 #F2E598 #98F2B8 #98A5F2
split-complementary
#F298D2 #A5F298 #98F2E5
monochromatic
#E42BA3 #EB62BA #F298D2 #F9CEEA #FCE4F3

Accessibility & contrast

On white

2.06
#F298D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#F298D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F298D2
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F298D2#FFFFFF#000000##000000
##F298D21.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CACD4
Deuteranopia (green-blind)
#B3BAD0
Tritanopia (blue-blind)
#FC99AD
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #f298d2;
/* rgb */ color: rgb(242, 152, 210);
/* oklch */ color: oklch(78.8% 0.129 341.4);
Tailwind
colors: {
  custom: {
    50: '#f8b8df',
    500: '#f298d2',
    950: '#000000',
  },
}
SCSS
$custom: #f298d2;
$custom-light: #f8b8df;
$custom-dark: #000000;
JSON
{
  "hex": "#f298d2",
  "rgb": {
    "r": 242,
    "g": 152,
    "b": 210
  },
  "hsl": {
    "h": 321.333,
    "s": 77.586,
    "l": 77.255
  },
  "oklch": {
    "l": 0.78838,
    "c": 0.12895,
    "h": 341.4
  },
  "luminance": 0.45987
}

Semantic roles & 50–950 ramp

primary
#F298D2
secondary
#D8F3E1
accent
#DA550C
background
#FFFBFD
surface
#FFF6FB
border
#D7D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #F298D2

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

Preview Lab → · Contrast checker → · Palette generator →

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