#F0817C#F0817C

#F0817C is a light, vivid red. Relative luminance 0.357; OKLCH L 72.5% C 0.137 H 23.7°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#F0817C
RGBrgb(240, 129, 124)
HSLhsl(3, 79%, 71%)
HSVhsv(3, 48%, 94%)
CMYKcmyk(0%, 46.3%, 48.3%, 5.9%)
CIE-LABlab(66.28, 41.93, 21.97)
CIE-LCHlch(66.28, 47.34, 27.65°)
OKLaboklab(72.53% 0.1255 0.0551)
OKLCHoklch(72.53% 0.137 23.7)
XYZxyz(47.4267, 35.6858, 23.4552)
Luminance0.3568 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0817C #7CEBF0
analogous
#F07CB1 #F0817C #F0BB7C
triadic
#F0817C #7CF081 #817CF0
tetradic
#F0817C #B1F07C #7CEBF0 #BB7CF0
square
#F0817C #B1F07C #7CEBF0 #BB7CF0
split-complementary
#F0817C #7CF0BB #7CB1F0
monochromatic
#D92119 #EA4C45 #F0817C #F6B6B3 #FCE5E4

Accessibility & contrast

On white

2.58
#F0817C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#F0817C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0817C
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0817C#FFFFFF#000000##000000
##F0817C1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A937B
Deuteranopia (green-blind)
#B5AA7A
Tritanopia (blue-blind)
#FF7180
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f0817c;
/* rgb */ color: rgb(240, 129, 124);
/* oklch */ color: oklch(72.5% 0.137 23.7);
Tailwind
colors: {
  custom: {
    50: '#f9a7a2',
    500: '#f0817c',
    950: '#000000',
  },
}
SCSS
$custom: #f0817c;
$custom-light: #f9a7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f0817c",
  "rgb": {
    "r": 240,
    "g": 129,
    "b": 124
  },
  "hsl": {
    "h": 2.586,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72531,
    "c": 0.13702,
    "h": 23.7
  },
  "luminance": 0.35681
}

Semantic roles & 50–950 ramp

primary
#F0817C
secondary
#D5F2F3
accent
#D3DC0A
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#18100F
muted
#867F7E

Preview Lab

Preview with #F0817C

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

Preview Lab → · Contrast checker → · Palette generator →

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