#F297CD#F297CD

#F297CD is a light, vivid pink. Relative luminance 0.454; OKLCH L 78.5% C 0.127 H 344.0°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#F297CD
RGBrgb(242, 151, 205)
HSLhsl(324, 78%, 77%)
HSVhsv(324, 38%, 95%)
CMYKcmyk(0%, 37.6%, 15.3%, 5.1%)
CIE-LABlab(73.17, 41.46, -13.29)
CIE-LCHlch(73.17, 43.54, 342.23°)
OKLaboklab(78.51% 0.1222 -0.0351)
OKLCHoklch(78.51% 0.127 344)
XYZxyz(58.7045, 45.4217, 63.4210)
Luminance0.4542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F297CD #97F2BC
analogous
#EA97F2 #F297CD #F297A0
triadic
#F297CD #CDF297 #97CDF2
tetradic
#F297CD #F2EA97 #97F2BC #97A0F2
square
#F297CD #F2EA97 #97F2BC #97A0F2
split-complementary
#F297CD #A0F297 #97F2EA
monochromatic
#E42A99 #EB61B3 #F297CD #F9CDE7 #FCE4F2

Accessibility & contrast

On white

2.08
#F297CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#F297CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F297CD
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F297CD#FFFFFF#000000##000000
##F297CD1.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DABCF
Deuteranopia (green-blind)
#B3B9CB
Tritanopia (blue-blind)
#FD97AA
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #f297cd;
/* rgb */ color: rgb(242, 151, 205);
/* oklch */ color: oklch(78.5% 0.127 344.0);
Tailwind
colors: {
  custom: {
    50: '#f8b7dc',
    500: '#f297cd',
    950: '#000000',
  },
}
SCSS
$custom: #f297cd;
$custom-light: #f8b7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#f297cd",
  "rgb": {
    "r": 242,
    "g": 151,
    "b": 205
  },
  "hsl": {
    "h": 324.396,
    "s": 77.778,
    "l": 77.059
  },
  "oklch": {
    "l": 0.78505,
    "c": 0.12717,
    "h": 344
  },
  "luminance": 0.45418
}

Semantic roles & 50–950 ramp

primary
#F297CD
secondary
#D8F3E3
accent
#DA5F0B
background
#FFFBFD
surface
#FFF6FB
border
#D7D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #F297CD

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

Preview Lab → · Contrast checker → · Palette generator →

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