#D1284D#D1284D

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

Color values

HEX#D1284D
RGBrgb(209, 40, 77)
HSLhsl(347, 68%, 49%)
HSVhsv(347, 81%, 82%)
CMYKcmyk(0%, 80.9%, 63.2%, 18%)
CIE-LABlab(46.46, 65.02, 22.09)
CIE-LCHlch(46.46, 68.67, 18.77°)
OKLaboklab(56.4% 0.1947 0.0533)
OKLCHoklch(56.4% 0.202 15.3)
XYZxyz(28.3959, 15.6131, 8.5382)
Luminance0.1561 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1284D #28D1AC
analogous
#D128A2 #D1284D #D15828
triadic
#D1284D #4DD128 #284DD1
tetradic
#D1284D #A2D128 #28D1AC #5828D1
square
#D1284D #A2D128 #28D1AC #5828D1
split-complementary
#D1284D #28D158 #28A2D1
monochromatic
#6A1427 #9E1E3A #D1284D #DF5775 #E98B9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1284D#FFFFFF#000000##FFFFFF
##D1284D1.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)
#5B584D
Deuteranopia (green-blind)
#857B48
Tritanopia (blue-blind)
#E50039
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #d1284d;
/* rgb */ color: rgb(209, 40, 77);
/* oklch */ color: oklch(56.4% 0.202 15.3);
Tailwind
colors: {
  custom: {
    50: '#e7747e',
    500: '#d1284d',
    950: '#000000',
  },
}
SCSS
$custom: #d1284d;
$custom-light: #e7747e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1284d",
  "rgb": {
    "r": 209,
    "g": 40,
    "b": 77
  },
  "hsl": {
    "h": 346.864,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56402,
    "c": 0.20182,
    "h": 15.3
  },
  "luminance": 0.15609
}

Semantic roles & 50–950 ramp

primary
#D1284D
secondary
#82D3C1
accent
#EBC53D
background
#FFF7F7
surface
#FFEEEE
border
#D7C9C9
text
#170909
muted
#857B7B

Preview Lab

Preview with #D1284D

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

Preview Lab → · Contrast checker → · Palette generator →

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