#D134B2#D134B2

#D134B2 is a mid, highly saturated pink. Relative luminance 0.192; OKLCH L 60.8% C 0.229 H 337.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#D134B2
RGBrgb(209, 52, 178)
HSLhsl(312, 63%, 51%)
HSVhsv(312, 75%, 82%)
CMYKcmyk(0%, 75.1%, 14.8%, 18%)
CIE-LABlab(50.95, 71.69, -32.37)
CIE-LCHlch(50.95, 78.65, 335.70°)
OKLaboklab(60.76% 0.2117 -0.088)
OKLCHoklch(60.76% 0.229 337.4)
XYZxyz(35.5591, 19.2290, 43.9497)
Luminance0.1923 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D134B2 #34D153
analogous
#A134D1 #D134B2 #D13463
triadic
#D134B2 #B2D134 #34B2D1
tetradic
#D134B2 #D1A134 #34D153 #3463D1
square
#D134B2 #D1A134 #34D153 #3463D1
split-complementary
#D134B2 #63D134 #34D1A1
monochromatic
#711A60 #A3258A #D134B2 #DC66C5 #E898D8

Accessibility & contrast

On white

4.33
#D134B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#D134B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D134B2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D134B2#FFFFFF#000000##000000
##D134B21.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A6AB5
Deuteranopia (green-blind)
#7082AE
Tritanopia (blue-blind)
#DC3E70
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d134b2;
/* rgb */ color: rgb(209, 52, 178);
/* oklch */ color: oklch(60.8% 0.229 337.4);
Tailwind
colors: {
  custom: {
    50: '#e37cc9',
    500: '#d134b2',
    950: '#000000',
  },
}
SCSS
$custom: #d134b2;
$custom-light: #e37cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#d134b2",
  "rgb": {
    "r": 209,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 311.847,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.6076,
    "c": 0.22925,
    "h": 337.4
  },
  "luminance": 0.19226
}

Semantic roles & 50–950 ramp

primary
#D134B2
secondary
#8ED39B
accent
#E66242
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D134B2

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

Preview Lab → · Contrast checker → · Palette generator →

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