#F297D3#F297D3

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

Color values

HEX#F297D3
RGBrgb(242, 151, 211)
HSLhsl(320, 78%, 77%)
HSVhsv(320, 38%, 95%)
CMYKcmyk(0%, 37.6%, 12.8%, 5.1%)
CIE-LABlab(73.36, 42.41, -16.30)
CIE-LCHlch(73.36, 45.43, 338.97°)
OKLaboklab(78.71% 0.124 -0.0433)
OKLCHoklch(78.71% 0.131 340.7)
XYZxyz(59.4426, 45.7170, 67.3087)
Luminance0.4571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F297D3 #97F2B6
analogous
#E497F2 #F297D3 #F297A5
triadic
#F297D3 #D3F297 #97D3F2
tetradic
#F297D3 #F2E497 #97F2B6 #97A5F2
square
#F297D3 #F2E497 #97F2B6 #97A5F2
split-complementary
#F297D3 #A5F297 #97F2E4
monochromatic
#E42AA5 #EB61BC #F297D3 #F9CDEA #FCE4F3

Accessibility & contrast

On white

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

On black

10.14
#F297D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F297D3
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F297D3#FFFFFF#000000##000000
##F297D31.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BABD5
Deuteranopia (green-blind)
#B2B9D0
Tritanopia (blue-blind)
#FC98AD
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #f297d3;
/* rgb */ color: rgb(242, 151, 211);
/* oklch */ color: oklch(78.7% 0.131 340.7);
Tailwind
colors: {
  custom: {
    50: '#f8b7e0',
    500: '#f297d3',
    950: '#000000',
  },
}
SCSS
$custom: #f297d3;
$custom-light: #f8b7e0;
$custom-dark: #000000;
JSON
{
  "hex": "#f297d3",
  "rgb": {
    "r": 242,
    "g": 151,
    "b": 211
  },
  "hsl": {
    "h": 320.44,
    "s": 77.778,
    "l": 77.059
  },
  "oklch": {
    "l": 0.78714,
    "c": 0.13139,
    "h": 340.7
  },
  "luminance": 0.45714
}

Semantic roles & 50–950 ramp

primary
#F297D3
secondary
#D8F3E1
accent
#DA520B
background
#FFFBFD
surface
#FFF6FB
border
#D7D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #F297D3

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

Preview Lab → · Contrast checker → · Palette generator →

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