#D34271#D34271

#D34271 is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.8% C 0.184 H 4.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#D34271
RGBrgb(211, 66, 113)
HSLhsl(341, 62%, 54%)
HSVhsv(341, 69%, 83%)
CMYKcmyk(0%, 68.7%, 46.4%, 17.3%)
CIE-LABlab(50.62, 59.94, 5.91)
CIE-LCHlch(50.62, 60.23, 5.63°)
OKLaboklab(59.81% 0.1831 0.0158)
OKLCHoklch(59.81% 0.184 4.9)
XYZxyz(31.7953, 18.9416, 17.6014)
Luminance0.1894 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D34271 #42D3A4
analogous
#D342B9 #D34271 #D35C42
triadic
#D34271 #71D342 #4271D3
tetradic
#D34271 #B9D342 #42D3A4 #5C42D3
square
#D34271 #B9D342 #42D3A4 #5C42D3
split-complementary
#D34271 #42D35C #42B9D3
monochromatic
#7D1D3C #AF2954 #D34271 #DF7496 #EAA5BC

Accessibility & contrast

On white

4.39
#D34271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#D34271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D34271
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D34271#FFFFFF#000000##000000
##D342711.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#626672
Deuteranopia (green-blind)
#89836E
Tritanopia (blue-blind)
#E52B55
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d34271;
/* rgb */ color: rgb(211, 66, 113);
/* oklch */ color: oklch(59.8% 0.184 4.9);
Tailwind
colors: {
  custom: {
    50: '#e68099',
    500: '#d34271',
    950: '#000000',
  },
}
SCSS
$custom: #d34271;
$custom-light: #e68099;
$custom-dark: #000000;
JSON
{
  "hex": "#d34271",
  "rgb": {
    "r": 211,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 340.552,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59809,
    "c": 0.18375,
    "h": 4.9
  },
  "luminance": 0.18938
}

Semantic roles & 50–950 ramp

primary
#D34271
secondary
#9AD7C3
accent
#E5B142
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170B0D
muted
#857C7E

Preview Lab

Preview with #D34271

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

Preview Lab → · Contrast checker → · Palette generator →

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