#F298CD#F298CD

#F298CD is a light, vivid pink. Relative luminance 0.457; OKLCH L 78.7% C 0.125 H 344.2°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#F298CD
RGBrgb(242, 152, 205)
HSLhsl(325, 78%, 77%)
HSVhsv(325, 37%, 95%)
CMYKcmyk(0%, 37.2%, 15.3%, 5.1%)
CIE-LABlab(73.38, 40.94, -12.97)
CIE-LCHlch(73.38, 42.95, 342.42°)
OKLaboklab(78.66% 0.1207 -0.0342)
OKLCHoklch(78.66% 0.125 344.2)
XYZxyz(58.8661, 45.7449, 63.4748)
Luminance0.4574 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F298CD #98F2BD
analogous
#EA98F2 #F298CD #F298A0
triadic
#F298CD #CDF298 #98CDF2
tetradic
#F298CD #F2EA98 #98F2BD #98A0F2
square
#F298CD #F2EA98 #98F2BD #98A0F2
split-complementary
#F298CD #A0F298 #98F2EA
monochromatic
#E42B98 #EB62B3 #F298CD #F9CEE7 #FCE4F2

Accessibility & contrast

On white

2.07
#F298CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#F298CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F298CD
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F298CD#FFFFFF#000000##000000
##F298CD1.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EABCF
Deuteranopia (green-blind)
#B4BACB
Tritanopia (blue-blind)
#FD98AB
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #f298cd;
/* rgb */ color: rgb(242, 152, 205);
/* oklch */ color: oklch(78.7% 0.125 344.2);
Tailwind
colors: {
  custom: {
    50: '#f8b8dc',
    500: '#f298cd',
    950: '#000000',
  },
}
SCSS
$custom: #f298cd;
$custom-light: #f8b8dc;
$custom-dark: #000000;
JSON
{
  "hex": "#f298cd",
  "rgb": {
    "r": 242,
    "g": 152,
    "b": 205
  },
  "hsl": {
    "h": 324.667,
    "s": 77.586,
    "l": 77.255
  },
  "oklch": {
    "l": 0.78665,
    "c": 0.12548,
    "h": 344.2
  },
  "luminance": 0.45741
}

Semantic roles & 50–950 ramp

primary
#F298CD
secondary
#D8F3E3
accent
#DA600C
background
#FFFBFD
surface
#FFF6FB
border
#D7D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #F298CD

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

Preview Lab → · Contrast checker → · Palette generator →

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