#FF5271#FF5271

#FF5271 is a light, highly saturated red. Relative luminance 0.285; OKLCH L 68.4% C 0.208 H 14.2°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#FF5271
RGBrgb(255, 82, 113)
HSLhsl(349, 100%, 66%)
HSVhsv(349, 68%, 100%)
CMYKcmyk(0%, 67.8%, 55.7%, 0%)
CIE-LABlab(60.33, 67.05, 20.57)
CIE-LCHlch(60.33, 70.13, 17.06°)
OKLaboklab(68.43% 0.2018 0.0512)
OKLCHoklch(68.43% 0.208 14.2)
XYZxyz(47.2423, 28.4933, 18.6317)
Luminance0.2849 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5271 #52FFE0
analogous
#FF52C7 #FF5271 #FF8952
triadic
#FF5271 #71FF52 #5271FF
tetradic
#FF5271 #C7FF52 #52FFE0 #8952FF
square
#FF5271 #C7FF52 #52FFE0 #8952FF
split-complementary
#FF5271 #52FF89 #52C7FF
monochromatic
#D70026 #FF153F #FF5271 #FF8FA3 #FFCCD5

Accessibility & contrast

On white

3.14
#FF5271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#FF5271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF5271
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5271#FFFFFF#000000##000000
##FF52711.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E7B71
Deuteranopia (green-blind)
#AA9F6D
Tritanopia (blue-blind)
#FF2B5F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ff5271;
/* rgb */ color: rgb(255, 82, 113);
/* oklch */ color: oklch(68.4% 0.208 14.2);
Tailwind
colors: {
  custom: {
    50: '#ff8d99',
    500: '#ff5271',
    950: '#000000',
  },
}
SCSS
$custom: #ff5271;
$custom-light: #ff8d99;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5271",
  "rgb": {
    "r": 255,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 349.249,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68425,
    "c": 0.20819,
    "h": 14.2
  },
  "luminance": 0.28487
}

Semantic roles & 50–950 ramp

primary
#FF5271
secondary
#BAF3E9
accent
#E6BC00
background
#FFF9F9
surface
#FFF1F2
border
#D7CBCC
text
#1A0D0D
muted
#877E7E

Preview Lab

Preview with #FF5271

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

Preview Lab → · Contrast checker → · Palette generator →

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