#D4267E#D4267E

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

Color values

HEX#D4267E
RGBrgb(212, 38, 126)
HSLhsl(330, 70%, 49%)
HSVhsv(330, 82%, 83%)
CMYKcmyk(0%, 82.1%, 40.6%, 16.9%)
CIE-LABlab(48.13, 70.02, -5.60)
CIE-LCHlch(48.13, 70.24, 355.43°)
OKLaboklab(58.13% 0.2157 -0.0138)
OKLCHoklch(58.13% 0.216 356.3)
XYZxyz(31.6127, 16.8938, 21.3308)
Luminance0.1689 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4267E #26D47C
analogous
#D326D4 #D4267E #D42627
triadic
#D4267E #7ED426 #267ED4
tetradic
#D4267E #D4D326 #26D47C #2627D4
square
#D4267E #D4D326 #26D47C #2627D4
split-complementary
#D4267E #27D426 #26D4D3
monochromatic
#6C1340 #A01D5F #D4267E #E1569C #EA8ABB

Accessibility & contrast

On white

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

On black

4.38
#D4267E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##D4267E#FFFFFF#000000##FFFFFF
##D4267E1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5E80
Deuteranopia (green-blind)
#7F7E7A
Tritanopia (blue-blind)
#E60050
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d4267e;
/* rgb */ color: rgb(212, 38, 126);
/* oklch */ color: oklch(58.1% 0.216 356.3);
Tailwind
colors: {
  custom: {
    50: '#e775a3',
    500: '#d4267e',
    950: '#000000',
  },
}
SCSS
$custom: #d4267e;
$custom-light: #e775a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d4267e",
  "rgb": {
    "r": 212,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 329.655,
    "s": 69.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58134,
    "c": 0.21609,
    "h": 356.3
  },
  "luminance": 0.1689
}

Semantic roles & 50–950 ramp

primary
#D4267E
secondary
#82D4AA
accent
#EC933B
background
#FFF7FA
surface
#FEEEF3
border
#D6C9CD
text
#170A0F
muted
#857C7F

Preview Lab

Preview with #D4267E

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

Preview Lab → · Contrast checker → · Palette generator →

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