#F25171#F25171

#F25171 is a light, vivid red. Relative luminance 0.260; OKLCH L 66.3% C 0.197 H 12.6°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#F25171
RGBrgb(242, 81, 113)
HSLhsl(348, 86%, 63%)
HSVhsv(348, 67%, 95%)
CMYKcmyk(0%, 66.5%, 53.3%, 5.1%)
CIE-LABlab(58.00, 63.52, 17.03)
CIE-LCHlch(58.00, 65.76, 15.01°)
OKLaboklab(66.28% 0.1918 0.0429)
OKLCHoklch(66.28% 0.197 12.6)
XYZxyz(42.5448, 25.9600, 18.3900)
Luminance0.2595 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F25171 #51F2D2
analogous
#F251C1 #F25171 #F28251
triadic
#F25171 #71F251 #5171F2
tetradic
#F25171 #C1F251 #51F2D2 #8251F2
square
#F25171 #C1F251 #51F2D2 #8251F2
split-complementary
#F25171 #51F282 #51C1F2
monochromatic
#BB0E30 #EE1843 #F25171 #F68A9F #FBC3CE

Accessibility & contrast

On white

3.39
#F25171 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#F25171 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F25171
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F25171#FFFFFF#000000##000000
##F251711.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#787671
Deuteranopia (green-blind)
#A2986D
Tritanopia (blue-blind)
#FF325E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #f25171;
/* rgb */ color: rgb(242, 81, 113);
/* oklch */ color: oklch(66.3% 0.197 12.6);
Tailwind
colors: {
  custom: {
    50: '#fd8b99',
    500: '#f25171',
    950: '#000000',
  },
}
SCSS
$custom: #f25171;
$custom-light: #fd8b99;
$custom-dark: #000000;
JSON
{
  "hex": "#f25171",
  "rgb": {
    "r": 242,
    "g": 81,
    "b": 113
  },
  "hsl": {
    "h": 348.075,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66279,
    "c": 0.19658,
    "h": 12.6
  },
  "luminance": 0.25954
}

Semantic roles & 50–950 ramp

primary
#F25171
secondary
#B3ECE1
accent
#E3B603
background
#FFF9F9
surface
#FFF1F2
border
#D7CBCC
text
#190D0D
muted
#877E7E

Preview Lab

Preview with #F25171

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

Preview Lab → · Contrast checker → · Palette generator →

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