#F5897B#F5897B

#F5897B is a light, vivid red. Relative luminance 0.387; OKLCH L 74.4% C 0.134 H 28.4°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#F5897B
RGBrgb(245, 137, 123)
HSLhsl(7, 86%, 72%)
HSVhsv(7, 50%, 96%)
CMYKcmyk(0%, 44.1%, 49.8%, 3.9%)
CIE-LABlab(68.56, 39.62, 25.71)
CIE-LCHlch(68.56, 47.23, 32.98°)
OKLaboklab(74.4% 0.1179 0.0639)
OKLCHoklch(74.4% 0.134 28.4)
XYZxyz(50.1803, 38.7388, 23.5697)
Luminance0.3873 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5897B #7BE7F5
analogous
#F57BAA #F5897B #F5C67B
triadic
#F5897B #7BF589 #897BF5
tetradic
#F5897B #AAF57B #7BE7F5 #C67BF5
square
#F5897B #AAF57B #7BE7F5 #C67BF5
split-complementary
#F5897B #7BF5C6 #7BAAF5
monochromatic
#E42A11 #F15642 #F5897B #F9BCB4 #FDE6E3

Accessibility & contrast

On white

2.40
#F5897B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#F5897B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5897B
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5897B#FFFFFF#000000##000000
##F5897B1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29A79
Deuteranopia (green-blind)
#BCB079
Tritanopia (blue-blind)
#FF7986
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f5897b;
/* rgb */ color: rgb(245, 137, 123);
/* oklch */ color: oklch(74.4% 0.134 28.4);
Tailwind
colors: {
  custom: {
    50: '#fdada1',
    500: '#f5897b',
    950: '#000000',
  },
}
SCSS
$custom: #f5897b;
$custom-light: #fdada1;
$custom-dark: #000000;
JSON
{
  "hex": "#f5897b",
  "rgb": {
    "r": 245,
    "g": 137,
    "b": 123
  },
  "hsl": {
    "h": 6.885,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.74403,
    "c": 0.13408,
    "h": 28.4
  },
  "luminance": 0.38734
}

Semantic roles & 50–950 ramp

primary
#F5897B
secondary
#D6F1F5
accent
#C9E203
background
#FFFAF9
surface
#FFF4F2
border
#D7CECC
text
#18100F
muted
#867F7E

Preview Lab

Preview with #F5897B

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

Preview Lab → · Contrast checker → · Palette generator →

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