#D4267D#D4267D

#D4267D is a mid, highly saturated pink. Relative luminance 0.169; OKLCH L 58.1% C 0.216 H 356.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#D4267D
RGBrgb(212, 38, 125)
HSLhsl(330, 70%, 49%)
HSVhsv(330, 82%, 83%)
CMYKcmyk(0%, 82.1%, 41%, 16.9%)
CIE-LABlab(48.09, 69.93, -5.03)
CIE-LCHlch(48.09, 70.11, 355.88°)
OKLaboklab(58.1% 0.2154 -0.0124)
OKLCHoklch(58.1% 0.216 356.7)
XYZxyz(31.5485, 16.8681, 20.9926)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4267D #26D47D
analogous
#D426D4 #D4267D #D42626
triadic
#D4267D #7DD426 #267DD4
tetradic
#D4267D #D4D426 #26D47D #2626D4
square
#D4267D #D4D426 #26D47D #2626D4
split-complementary
#D4267D #26D426 #26D4D4
monochromatic
#6C1340 #A01D5E #D4267D #E1569C #EA8ABA

Accessibility & contrast

On white

4.80
#D4267D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#D4267D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D4267D
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4267D#FFFFFF#000000##FFFFFF
##D4267D1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5E7F
Deuteranopia (green-blind)
#7F7E79
Tritanopia (blue-blind)
#E6004F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d4267d;
/* rgb */ color: rgb(212, 38, 125);
/* oklch */ color: oklch(58.1% 0.216 356.7);
Tailwind
colors: {
  custom: {
    50: '#e775a2',
    500: '#d4267d',
    950: '#000000',
  },
}
SCSS
$custom: #d4267d;
$custom-light: #e775a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d4267d",
  "rgb": {
    "r": 212,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 330,
    "s": 69.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.581,
    "c": 0.21571,
    "h": 356.7
  },
  "luminance": 0.16864
}

Semantic roles & 50–950 ramp

primary
#D4267D
secondary
#82D4AB
accent
#EC943B
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#170A0F
muted
#857C7E

Preview Lab

Preview with #D4267D

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

Preview Lab → · Contrast checker → · Palette generator →

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