#D3314F#D3314F

#D3314F is a mid, vivid red. Relative luminance 0.166; OKLCH L 57.4% C 0.197 H 16.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#D3314F
RGBrgb(211, 49, 79)
HSLhsl(349, 65%, 51%)
HSVhsv(349, 77%, 83%)
CMYKcmyk(0%, 76.8%, 62.6%, 17.3%)
CIE-LABlab(47.77, 63.19, 22.65)
CIE-LCHlch(47.77, 67.12, 19.72°)
OKLaboklab(57.45% 0.1889 0.0547)
OKLCHoklch(57.45% 0.197 16.2)
XYZxyz(29.3767, 16.6144, 9.0557)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3314F #31D3B5
analogous
#D331A0 #D3314F #D36431
triadic
#D3314F #4FD331 #314FD3
tetradic
#D3314F #A0D331 #31D3B5 #6431D3
square
#D3314F #A0D331 #31D3B5 #6431D3
split-complementary
#D3314F #31D364 #31A0D3
monochromatic
#711829 #A4233B #D3314F #DE637A #E996A5

Accessibility & contrast

On white

4.86
#D3314F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#D3314F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D3314F
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3314F#FFFFFF#000000##FFFFFF
##D3314F1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5C4F
Deuteranopia (green-blind)
#887D4A
Tritanopia (blue-blind)
#E7003E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d3314f;
/* rgb */ color: rgb(211, 49, 79);
/* oklch */ color: oklch(57.4% 0.197 16.2);
Tailwind
colors: {
  custom: {
    50: '#e87880',
    500: '#d3314f',
    950: '#000000',
  },
}
SCSS
$custom: #d3314f;
$custom-light: #e87880;
$custom-dark: #000000;
JSON
{
  "hex": "#d3314f",
  "rgb": {
    "r": 211,
    "g": 49,
    "b": 79
  },
  "hsl": {
    "h": 348.889,
    "s": 64.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57449,
    "c": 0.19664,
    "h": 16.2
  },
  "luminance": 0.1661
}

Semantic roles & 50–950 ramp

primary
#D3314F
secondary
#8CD4C6
accent
#E8C940
background
#FFF7F7
surface
#FFEEEE
border
#D7C9C9
text
#180A0A
muted
#867C7C

Preview Lab

Preview with #D3314F

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

Preview Lab → · Contrast checker → · Palette generator →

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