#F28BA7#F28BA7

#F28BA7 is a light, vivid pink. Relative luminance 0.401; OKLCH L 75.4% C 0.128 H 3.2°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#F28BA7
RGBrgb(242, 139, 167)
HSLhsl(344, 80%, 75%)
HSVhsv(344, 43%, 95%)
CMYKcmyk(0%, 42.6%, 31%, 5.1%)
CIE-LABlab(69.57, 42.27, 2.50)
CIE-LCHlch(69.57, 42.35, 3.39°)
OKLaboklab(75.41% 0.1281 0.0071)
OKLCHoklch(75.41% 0.128 3.2)
XYZxyz(52.8276, 40.1368, 41.5166)
Luminance0.4013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28BA7 #8BF2D6
analogous
#F28BDB #F28BA7 #F2A28B
triadic
#F28BA7 #A7F28B #8BA7F2
tetradic
#F28BA7 #DBF28B #8BF2D6 #A28BF2
square
#F28BA7 #DBF28B #8BF2D6 #A28BF2
split-complementary
#F28BA7 #8BF2A2 #8BDBF2
monochromatic
#E61D54 #EC547D #F28BA7 #F8C2D1 #FCE3EA

Accessibility & contrast

On white

2.33
#F28BA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#F28BA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28BA7
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28BA7#FFFFFF#000000##000000
##F28BA71.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B9EA8
Deuteranopia (green-blind)
#B5B1A5
Tritanopia (blue-blind)
#FF8395
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f28ba7;
/* rgb */ color: rgb(242, 139, 167);
/* oklch */ color: oklch(75.4% 0.128 3.2);
Tailwind
colors: {
  custom: {
    50: '#f9afc1',
    500: '#f28ba7',
    950: '#000000',
  },
}
SCSS
$custom: #f28ba7;
$custom-light: #f9afc1;
$custom-dark: #000000;
JSON
{
  "hex": "#f28ba7",
  "rgb": {
    "r": 242,
    "g": 139,
    "b": 167
  },
  "hsl": {
    "h": 343.689,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.75408,
    "c": 0.12832,
    "h": 3.2
  },
  "luminance": 0.40133
}

Semantic roles & 50–950 ramp

primary
#F28BA7
secondary
#D7F4EC
accent
#DCA309
background
#FFFAFB
surface
#FFF5F7
border
#D7CFD0
text
#181012
muted
#867F81

Preview Lab

Preview with #F28BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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