#F2897E#F2897E

#F2897E is a light, vivid red. Relative luminance 0.383; OKLCH L 74.1% C 0.130 H 26.9°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#F2897E
RGBrgb(242, 137, 126)
HSLhsl(6, 82%, 72%)
HSVhsv(6, 48%, 95%)
CMYKcmyk(0%, 43.4%, 47.9%, 5.1%)
CIE-LABlab(68.23, 38.78, 23.53)
CIE-LCHlch(68.23, 45.36, 31.25°)
OKLaboklab(74.08% 0.1158 0.0589)
OKLCHoklch(74.08% 0.13 26.9)
XYZxyz(49.3326, 38.2797, 24.5252)
Luminance0.3827 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2897E #7EE7F2
analogous
#F27EAD #F2897E #F2C37E
triadic
#F2897E #7EF289 #897EF2
tetradic
#F2897E #ADF27E #7EE7F2 #C37EF2
square
#F2897E #ADF27E #7EE7F2 #C37EF2
split-complementary
#F2897E #7EF2C3 #7EADF2
monochromatic
#DF2A16 #EC5646 #F2897E #F8BCB6 #FCE6E3

Accessibility & contrast

On white

2.43
#F2897E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#F2897E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2897E
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2897E#FFFFFF#000000##000000
##F2897E1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1997D
Deuteranopia (green-blind)
#BAAF7C
Tritanopia (blue-blind)
#FF7A87
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f2897e;
/* rgb */ color: rgb(242, 137, 126);
/* oklch */ color: oklch(74.1% 0.130 26.9);
Tailwind
colors: {
  custom: {
    50: '#faada3',
    500: '#f2897e',
    950: '#000000',
  },
}
SCSS
$custom: #f2897e;
$custom-light: #faada3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2897e",
  "rgb": {
    "r": 242,
    "g": 137,
    "b": 126
  },
  "hsl": {
    "h": 5.69,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.74084,
    "c": 0.12992,
    "h": 26.9
  },
  "luminance": 0.38275
}

Semantic roles & 50–950 ramp

primary
#F2897E
secondary
#D7F1F4
accent
#CADE07
background
#FFFAFA
surface
#FFF4F3
border
#D7CECD
text
#18100F
muted
#867F7F

Preview Lab

Preview with #F2897E

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

Preview Lab → · Contrast checker → · Palette generator →

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