#F298D3#F298D3

#F298D3 is a light, vivid pink. Relative luminance 0.460; OKLCH L 78.9% C 0.130 H 340.9°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#F298D3
RGBrgb(242, 152, 211)
HSLhsl(321, 78%, 77%)
HSVhsv(321, 37%, 95%)
CMYKcmyk(0%, 37.2%, 12.8%, 5.1%)
CIE-LABlab(73.57, 41.89, -15.98)
CIE-LCHlch(73.57, 44.83, 339.11°)
OKLaboklab(78.87% 0.1225 -0.0425)
OKLCHoklch(78.87% 0.13 340.9)
XYZxyz(59.6042, 46.0402, 67.3625)
Luminance0.4604 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F298D3 #98F2B7
analogous
#E498F2 #F298D3 #F298A6
triadic
#F298D3 #D3F298 #98D3F2
tetradic
#F298D3 #F2E498 #98F2B7 #98A6F2
square
#F298D3 #F2E498 #98F2B7 #98A6F2
split-complementary
#F298D3 #A6F298 #98F2E4
monochromatic
#E42BA5 #EB62BC #F298D3 #F9CEEA #FCE4F3

Accessibility & contrast

On white

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

On black

10.21
#F298D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F298D3
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F298D3#FFFFFF#000000##000000
##F298D31.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f298d3;
/* rgb */ color: rgb(242, 152, 211);
/* oklch */ color: oklch(78.9% 0.130 340.9);
Tailwind
colors: {
  custom: {
    50: '#f8b8e0',
    500: '#f298d3',
    950: '#000000',
  },
}
SCSS
$custom: #f298d3;
$custom-light: #f8b8e0;
$custom-dark: #000000;
JSON
{
  "hex": "#f298d3",
  "rgb": {
    "r": 242,
    "g": 152,
    "b": 211
  },
  "hsl": {
    "h": 320.667,
    "s": 77.586,
    "l": 77.255
  },
  "oklch": {
    "l": 0.78874,
    "c": 0.12968,
    "h": 340.9
  },
  "luminance": 0.46037
}

Semantic roles & 50–950 ramp

primary
#F298D3
secondary
#D8F3E1
accent
#DA530C
background
#FFFBFD
surface
#FFF6FB
border
#D7D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #F298D3

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

Preview Lab → · Contrast checker → · Palette generator →

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