#F08FA2#F08FA2

#F08FA2 is a light, moderate red. Relative luminance 0.408; OKLCH L 75.7% C 0.119 H 7.7°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#F08FA2
RGBrgb(240, 143, 162)
HSLhsl(348, 76%, 75%)
HSVhsv(348, 40%, 94%)
CMYKcmyk(0%, 40.4%, 32.5%, 5.9%)
CIE-LABlab(70.02, 38.88, 5.92)
CIE-LCHlch(70.02, 39.33, 8.66°)
OKLaboklab(75.66% 0.1179 0.0159)
OKLCHoklch(75.66% 0.119 7.7)
XYZxyz(52.2812, 40.7830, 39.2938)
Luminance0.4078 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08FA2 #8FF0DD
analogous
#F08FD3 #F08FA2 #F0AC8F
triadic
#F08FA2 #A2F08F #8FA2F0
tetradic
#F08FA2 #D3F08F #8FF0DD #AC8FF0
square
#F08FA2 #D3F08F #8FF0DD #AC8FF0
split-complementary
#F08FA2 #8FF0AC #8FD3F0
monochromatic
#E22348 #E95975 #F08FA2 #F7C5CF #FBE4E9

Accessibility & contrast

On white

2.29
#F08FA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#F08FA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08FA2
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08FA2#FFFFFF#000000##000000
##F08FA21.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FA0A2
Deuteranopia (green-blind)
#B7B2A0
Tritanopia (blue-blind)
#FF8796
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f08fa2;
/* rgb */ color: rgb(240, 143, 162);
/* oklch */ color: oklch(75.7% 0.119 7.7);
Tailwind
colors: {
  custom: {
    50: '#f7b1bd',
    500: '#f08fa2',
    950: '#000000',
  },
}
SCSS
$custom: #f08fa2;
$custom-light: #f7b1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f08fa2",
  "rgb": {
    "r": 240,
    "g": 143,
    "b": 162
  },
  "hsl": {
    "h": 348.247,
    "s": 76.378,
    "l": 75.098
  },
  "oklch": {
    "l": 0.75661,
    "c": 0.11896,
    "h": 7.7
  },
  "luminance": 0.40779
}

Semantic roles & 50–950 ramp

primary
#F08FA2
secondary
#D8F3EE
accent
#D9B10D
background
#FFFBFB
surface
#FFF6F6
border
#D7D0D0
text
#171112
muted
#858081

Preview Lab

Preview with #F08FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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