#F08CA2#F08CA2

#F08CA2 is a light, vivid red. Relative luminance 0.399; OKLCH L 75.2% C 0.123 H 6.3°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#F08CA2
RGBrgb(240, 140, 162)
HSLhsl(347, 77%, 75%)
HSVhsv(347, 42%, 94%)
CMYKcmyk(0%, 41.7%, 32.5%, 5.9%)
CIE-LABlab(69.39, 40.43, 5.02)
CIE-LCHlch(69.39, 40.74, 7.08°)
OKLaboklab(75.18% 0.1226 0.0136)
OKLCHoklch(75.18% 0.123 6.3)
XYZxyz(51.8369, 39.8943, 39.1456)
Luminance0.3989 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F08CA2 #8CF0DA
analogous
#F08CD4 #F08CA2 #F0A88C
triadic
#F08CA2 #A2F08C #8CA2F0
tetradic
#F08CA2 #D4F08C #8CF0DA #A88CF0
square
#F08CA2 #D4F08C #8CF0DA #A88CF0
split-complementary
#F08CA2 #8CF0A8 #8CD4F0
monochromatic
#E2204A #E95676 #F08CA2 #F7C2CE #FBE4E9

Accessibility & contrast

On white

2.34
#F08CA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#F08CA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F08CA2
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F08CA2#FFFFFF#000000##000000
##F08CA21.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C9EA3
Deuteranopia (green-blind)
#B5B1A0
Tritanopia (blue-blind)
#FF8494
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f08ca2;
/* rgb */ color: rgb(240, 140, 162);
/* oklch */ color: oklch(75.2% 0.123 6.3);
Tailwind
colors: {
  custom: {
    50: '#f7afbd',
    500: '#f08ca2',
    950: '#000000',
  },
}
SCSS
$custom: #f08ca2;
$custom-light: #f7afbd;
$custom-dark: #000000;
JSON
{
  "hex": "#f08ca2",
  "rgb": {
    "r": 240,
    "g": 140,
    "b": 162
  },
  "hsl": {
    "h": 346.8,
    "s": 76.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.75182,
    "c": 0.12335,
    "h": 6.3
  },
  "luminance": 0.3989
}

Semantic roles & 50–950 ramp

primary
#F08CA2
secondary
#D8F3ED
accent
#D9AC0C
background
#FFFAFB
surface
#FFF5F6
border
#D7CFD0
text
#171012
muted
#857F81

Preview Lab

Preview with #F08CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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