#D1284E#D1284E

#D1284E is a mid, highly saturated red. Relative luminance 0.156; OKLCH L 56.4% C 0.202 H 14.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#D1284E
RGBrgb(209, 40, 78)
HSLhsl(347, 68%, 49%)
HSVhsv(347, 81%, 82%)
CMYKcmyk(0%, 80.9%, 62.7%, 18%)
CIE-LABlab(46.48, 65.08, 21.50)
CIE-LCHlch(46.48, 68.54, 18.28°)
OKLaboklab(56.42% 0.195 0.0521)
OKLCHoklch(56.42% 0.202 14.9)
XYZxyz(28.4315, 15.6273, 8.7256)
Luminance0.1562 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1284E #28D1AB
analogous
#D128A3 #D1284E #D15728
triadic
#D1284E #4ED128 #284ED1
tetradic
#D1284E #A3D128 #28D1AB #5728D1
square
#D1284E #A3D128 #28D1AB #5728D1
split-complementary
#D1284E #28D157 #28A3D1
monochromatic
#6A1428 #9E1E3B #D1284E #DF5776 #E98BA0

Accessibility & contrast

On white

5.09
#D1284E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#D1284E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D1284E
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1284E#FFFFFF#000000##FFFFFF
##D1284E1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B584E
Deuteranopia (green-blind)
#857B49
Tritanopia (blue-blind)
#E50039
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #d1284e;
/* rgb */ color: rgb(209, 40, 78);
/* oklch */ color: oklch(56.4% 0.202 14.9);
Tailwind
colors: {
  custom: {
    50: '#e7747f',
    500: '#d1284e',
    950: '#000000',
  },
}
SCSS
$custom: #d1284e;
$custom-light: #e7747f;
$custom-dark: #000000;
JSON
{
  "hex": "#d1284e",
  "rgb": {
    "r": 209,
    "g": 40,
    "b": 78
  },
  "hsl": {
    "h": 346.509,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56422,
    "c": 0.20186,
    "h": 14.9
  },
  "luminance": 0.15623
}

Semantic roles & 50–950 ramp

primary
#D1284E
secondary
#82D3C1
accent
#EBC43D
background
#FFF7F7
surface
#FFEEEE
border
#D7C9C9
text
#17090A
muted
#857B7C

Preview Lab

Preview with #D1284E

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

Preview Lab → · Contrast checker → · Palette generator →

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