#D42F70#D42F70

#D42F70 is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.3% C 0.204 H 2.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#D42F70
RGBrgb(212, 47, 112)
HSLhsl(336, 66%, 51%)
HSVhsv(336, 78%, 83%)
CMYKcmyk(0%, 77.8%, 47.2%, 16.9%)
CIE-LABlab(48.52, 66.44, 3.52)
CIE-LCHlch(48.52, 66.53, 3.03°)
OKLaboklab(58.28% 0.2038 0.0097)
OKLCHoklch(58.28% 0.204 2.7)
XYZxyz(31.0952, 17.2042, 17.0094)
Luminance0.1720 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42F70 #2FD493
analogous
#D42FC2 #D42F70 #D4402F
triadic
#D42F70 #70D42F #2F70D4
tetradic
#D42F70 #C2D42F #2FD493 #402FD4
square
#D42F70 #C2D42F #2FD493 #402FD4
split-complementary
#D42F70 #2FD440 #2FC2D4
monochromatic
#71173B #A42255 #D42F70 #DE6293 #E994B6

Accessibility & contrast

On white

4.73
#D42F70 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#D42F70 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42F70
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42F70#FFFFFF#000000##FFFFFF
##D42F701.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585F71
Deuteranopia (green-blind)
#847F6C
Tritanopia (blue-blind)
#E7004C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #d42f70;
/* rgb */ color: rgb(212, 47, 112);
/* oklch */ color: oklch(58.3% 0.204 2.7);
Tailwind
colors: {
  custom: {
    50: '#e77898',
    500: '#d42f70',
    950: '#000000',
  },
}
SCSS
$custom: #d42f70;
$custom-light: #e77898;
$custom-dark: #000000;
JSON
{
  "hex": "#d42f70",
  "rgb": {
    "r": 212,
    "g": 47,
    "b": 112
  },
  "hsl": {
    "h": 336.364,
    "s": 65.737,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58282,
    "c": 0.204,
    "h": 2.7
  },
  "luminance": 0.172
}

Semantic roles & 50–950 ramp

primary
#D42F70
secondary
#8BD4B7
accent
#E9A63F
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #D42F70

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

Preview Lab → · Contrast checker → · Palette generator →

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