#F17BA2#F17BA2

#F17BA2 is a light, vivid pink. Relative luminance 0.355; OKLCH L 72.7% C 0.150 H 0.5°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#F17BA2
RGBrgb(241, 123, 162)
HSLhsl(340, 81%, 71%)
HSVhsv(340, 49%, 95%)
CMYKcmyk(0%, 49%, 32.8%, 5.5%)
CIE-LABlab(66.12, 49.34, 0.29)
CIE-LCHlch(66.12, 49.34, 0.33°)
OKLaboklab(72.73% 0.1498 0.0014)
OKLCHoklch(72.73% 0.15 0.5)
XYZxyz(49.8824, 35.4799, 38.3966)
Luminance0.3548 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17BA2 #7BF1CA
analogous
#F17BDD #F17BA2 #F18F7B
triadic
#F17BA2 #A2F17B #7BA2F1
tetradic
#F17BA2 #DDF17B #7BF1CA #8F7BF1
square
#F17BA2 #DDF17B #7BF1CA #8F7BF1
split-complementary
#F17BA2 #7BF18F #7BDDF1
monochromatic
#DA1758 #EB447B #F17BA2 #F7B2C9 #FCE3EC

Accessibility & contrast

On white

2.59
#F17BA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#F17BA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17BA2
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17BA2#FFFFFF#000000##000000
##F17BA21.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D93A3
Deuteranopia (green-blind)
#ACA99F
Tritanopia (blue-blind)
#FF7289
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f17ba2;
/* rgb */ color: rgb(241, 123, 162);
/* oklch */ color: oklch(72.7% 0.150 0.5);
Tailwind
colors: {
  custom: {
    50: '#f9a4bd',
    500: '#f17ba2',
    950: '#000000',
  },
}
SCSS
$custom: #f17ba2;
$custom-light: #f9a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f17ba2",
  "rgb": {
    "r": 241,
    "g": 123,
    "b": 162
  },
  "hsl": {
    "h": 340.169,
    "s": 80.822,
    "l": 71.373
  },
  "oklch": {
    "l": 0.7273,
    "c": 0.14985,
    "h": 0.5
  },
  "luminance": 0.35475
}

Semantic roles & 50–950 ramp

primary
#F17BA2
secondary
#D5F3E9
accent
#DD9708
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#180F12
muted
#867F81

Preview Lab

Preview with #F17BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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