#F398DF#F398DF

#F398DF is a light, vivid pink. Relative luminance 0.468; OKLCH L 79.4% C 0.140 H 335.3°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#F398DF
RGBrgb(243, 152, 223)
HSLhsl(313, 79%, 77%)
HSVhsv(313, 37%, 95%)
CMYKcmyk(0%, 37.4%, 8.2%, 4.7%)
CIE-LABlab(74.09, 44.17, -21.77)
CIE-LCHlch(74.09, 49.25, 333.76°)
OKLaboklab(79.42% 0.127 -0.0585)
OKLCHoklch(79.42% 0.14 335.3)
XYZxyz(61.5094, 46.8421, 75.5993)
Luminance0.4684 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F398DF #98F3AC
analogous
#DA98F3 #F398DF #F398B1
triadic
#F398DF #DFF398 #98DFF3
tetradic
#F398DF #F3DA98 #98F3AC #98B1F3
square
#F398DF #F3DA98 #98F3AC #98B1F3
split-complementary
#F398DF #B1F398 #98F3DA
monochromatic
#E62ABD #ED61CE #F398DF #F9CFF0 #FCE4F6

Accessibility & contrast

On white

2.03
#F398DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#F398DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F398DF
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F398DF#FFFFFF#000000##000000
##F398DF1.002.0310.3710.37
#FFFFFF2.031.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#98AEE2
Deuteranopia (green-blind)
#AFBBDC
Tritanopia (blue-blind)
#FC9CB2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #f398df;
/* rgb */ color: rgb(243, 152, 223);
/* oklch */ color: oklch(79.4% 0.140 335.3);
Tailwind
colors: {
  custom: {
    50: '#f8b8e9',
    500: '#f398df',
    950: '#000000',
  },
}
SCSS
$custom: #f398df;
$custom-light: #f8b8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f398df",
  "rgb": {
    "r": 243,
    "g": 152,
    "b": 223
  },
  "hsl": {
    "h": 313.187,
    "s": 79.13,
    "l": 77.451
  },
  "oklch": {
    "l": 0.79422,
    "c": 0.13984,
    "h": 335.3
  },
  "luminance": 0.46839
}

Semantic roles & 50–950 ramp

primary
#F398DF
secondary
#D7F4DE
accent
#DB380A
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #F398DF

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

Preview Lab → · Contrast checker → · Palette generator →

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