#D1284C#D1284C

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

Color values

HEX#D1284C
RGBrgb(209, 40, 76)
HSLhsl(347, 68%, 49%)
HSVhsv(347, 81%, 82%)
CMYKcmyk(0%, 80.9%, 63.6%, 18%)
CIE-LABlab(46.44, 64.96, 22.68)
CIE-LCHlch(46.44, 68.81, 19.24°)
OKLaboklab(56.38% 0.1943 0.0546)
OKLCHoklch(56.38% 0.202 15.7)
XYZxyz(28.3609, 15.5991, 8.3537)
Luminance0.1560 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1284C #28D1AD
analogous
#D128A1 #D1284C #D15928
triadic
#D1284C #4CD128 #284CD1
tetradic
#D1284C #A1D128 #28D1AD #5928D1
square
#D1284C #A1D128 #28D1AD #5928D1
split-complementary
#D1284C #28D159 #28A1D1
monochromatic
#6A1427 #9E1E39 #D1284C #DF5774 #E98B9F

Accessibility & contrast

On white

5.10
#D1284C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #D1284C
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1284C#FFFFFF#000000##FFFFFF
##D1284C1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B584C
Deuteranopia (green-blind)
#857A47
Tritanopia (blue-blind)
#E50038
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #d1284c;
/* rgb */ color: rgb(209, 40, 76);
/* oklch */ color: oklch(56.4% 0.202 15.7);
Tailwind
colors: {
  custom: {
    50: '#e7747d',
    500: '#d1284c',
    950: '#000000',
  },
}
SCSS
$custom: #d1284c;
$custom-light: #e7747d;
$custom-dark: #000000;
JSON
{
  "hex": "#d1284c",
  "rgb": {
    "r": 209,
    "g": 40,
    "b": 76
  },
  "hsl": {
    "h": 347.219,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56382,
    "c": 0.20179,
    "h": 15.7
  },
  "luminance": 0.15595
}

Semantic roles & 50–950 ramp

primary
#D1284C
secondary
#82D3C1
accent
#EBC63D
background
#FFF7F7
surface
#FFEEEE
border
#D7C9C9
text
#180909
muted
#867B7B

Preview Lab

Preview with #D1284C

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

Preview Lab → · Contrast checker → · Palette generator →

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