#D4267C#D4267C

#D4267C is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 58.1% C 0.215 H 357.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#D4267C
RGBrgb(212, 38, 124)
HSLhsl(330, 70%, 49%)
HSVhsv(330, 82%, 83%)
CMYKcmyk(0%, 82.1%, 41.5%, 16.9%)
CIE-LABlab(48.06, 69.83, -4.47)
CIE-LCHlch(48.06, 69.98, 356.34°)
OKLaboklab(58.07% 0.2151 -0.0109)
OKLCHoklch(58.07% 0.215 357.1)
XYZxyz(31.4850, 16.8427, 20.6579)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4267C #26D47E
analogous
#D426D3 #D4267C #D42726
triadic
#D4267C #7CD426 #267CD4
tetradic
#D4267C #D3D426 #26D47E #2726D4
square
#D4267C #D3D426 #26D47E #2726D4
split-complementary
#D4267C #26D427 #26D3D4
monochromatic
#6C133F #A01D5E #D4267C #E1569B #EA8ABA

Accessibility & contrast

On white

4.81
#D4267C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #D4267C
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4267C#FFFFFF#000000##FFFFFF
##D4267C1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505D7E
Deuteranopia (green-blind)
#7F7E78
Tritanopia (blue-blind)
#E6004F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d4267c;
/* rgb */ color: rgb(212, 38, 124);
/* oklch */ color: oklch(58.1% 0.215 357.1);
Tailwind
colors: {
  custom: {
    50: '#e775a1',
    500: '#d4267c',
    950: '#000000',
  },
}
SCSS
$custom: #d4267c;
$custom-light: #e775a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d4267c",
  "rgb": {
    "r": 212,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 330.345,
    "s": 69.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58066,
    "c": 0.21534,
    "h": 357.1
  },
  "luminance": 0.16839
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4267C

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

Preview Lab → · Contrast checker → · Palette generator →

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