#EF5271#EF5271

#EF5271 is a light, vivid red. Relative luminance 0.256; OKLCH L 65.9% C 0.193 H 12.5°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#EF5271
RGBrgb(239, 82, 113)
HSLhsl(348, 83%, 63%)
HSVhsv(348, 66%, 94%)
CMYKcmyk(0%, 65.7%, 52.7%, 6.3%)
CIE-LABlab(57.64, 62.21, 16.46)
CIE-LCHlch(57.64, 64.35, 14.82°)
OKLaboklab(65.92% 0.188 0.0415)
OKLCHoklch(65.92% 0.193 12.5)
XYZxyz(41.5982, 25.5830, 18.3671)
Luminance0.2558 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF5271 #52EFD0
analogous
#EF52BF #EF5271 #EF8152
triadic
#EF5271 #71EF52 #5271EF
tetradic
#EF5271 #BFEF52 #52EFD0 #8152EF
square
#EF5271 #BFEF52 #52EFD0 #8152EF
split-complementary
#EF5271 #52EF81 #52BFEF
monochromatic
#B61131 #EA1A43 #EF5271 #F48A9F #F9C2CD

Accessibility & contrast

On white

3.43
#EF5271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#EF5271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EF5271
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF5271#FFFFFF#000000##000000
##EF52711.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#787671
Deuteranopia (green-blind)
#A0966D
Tritanopia (blue-blind)
#FF355E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ef5271;
/* rgb */ color: rgb(239, 82, 113);
/* oklch */ color: oklch(65.9% 0.193 12.5);
Tailwind
colors: {
  custom: {
    50: '#fb8b99',
    500: '#ef5271',
    950: '#000000',
  },
}
SCSS
$custom: #ef5271;
$custom-light: #fb8b99;
$custom-dark: #000000;
JSON
{
  "hex": "#ef5271",
  "rgb": {
    "r": 239,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 348.153,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65917,
    "c": 0.19251,
    "h": 12.5
  },
  "luminance": 0.25578
}

Semantic roles & 50–950 ramp

primary
#EF5271
secondary
#B2EBDF
accent
#DFB506
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#190D0D
muted
#877D7E

Preview Lab

Preview with #EF5271

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

Preview Lab → · Contrast checker → · Palette generator →

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