#F5817F#F5817F

#F5817F is a light, vivid red. Relative luminance 0.366; OKLCH L 73.2% C 0.142 H 22.2°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#F5817F
RGBrgb(245, 129, 127)
HSLhsl(1, 86%, 73%)
HSVhsv(1, 48%, 96%)
CMYKcmyk(0%, 47.3%, 48.2%, 3.9%)
CIE-LABlab(67.01, 44.03, 21.40)
CIE-LCHlch(67.01, 48.95, 25.92°)
OKLaboklab(73.25% 0.1319 0.0538)
OKLCHoklch(73.25% 0.142 22.2)
XYZxyz(49.3405, 36.6504, 24.5503)
Luminance0.3664 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5817F #7FF3F5
analogous
#F57FB8 #F5817F #F5BC7F
triadic
#F5817F #7FF581 #817FF5
tetradic
#F5817F #B8F57F #7FF3F5 #BC7FF5
square
#F5817F #B8F57F #7FF3F5 #BC7FF5
split-complementary
#F5817F #7FF5BC #7FB8F5
monochromatic
#E81612 #F14946 #F5817F #F9B9B8 #FDE3E3

Accessibility & contrast

On white

2.52
#F5817F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#F5817F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5817F
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5817F#FFFFFF#000000##000000
##F5817F1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B947E
Deuteranopia (green-blind)
#B7AC7D
Tritanopia (blue-blind)
#FF7181
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f5817f;
/* rgb */ color: rgb(245, 129, 127);
/* oklch */ color: oklch(73.2% 0.142 22.2);
Tailwind
colors: {
  custom: {
    50: '#fda8a4',
    500: '#f5817f',
    950: '#000000',
  },
}
SCSS
$custom: #f5817f;
$custom-light: #fda8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f5817f",
  "rgb": {
    "r": 245,
    "g": 129,
    "b": 127
  },
  "hsl": {
    "h": 1.017,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73248,
    "c": 0.14245,
    "h": 22.2
  },
  "luminance": 0.36645
}

Semantic roles & 50–950 ramp

primary
#F5817F
secondary
#D6F4F5
accent
#DEE203
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#18100F
muted
#867F7F

Preview Lab

Preview with #F5817F

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

Preview Lab → · Contrast checker → · Palette generator →

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