#D738AF#D738AF

#D738AF is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.8% C 0.227 H 340.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#D738AF
RGBrgb(215, 56, 175)
HSLhsl(315, 67%, 53%)
HSVhsv(315, 74%, 84%)
CMYKcmyk(0%, 74%, 18.6%, 15.7%)
CIE-LABlab(52.26, 71.45, -28.51)
CIE-LCHlch(52.26, 76.93, 338.25°)
OKLaboklab(61.85% 0.2133 -0.0769)
OKLCHoklch(61.85% 0.227 340.2)
XYZxyz(37.1774, 20.3743, 42.5238)
Luminance0.2037 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D738AF #38D760
analogous
#AF38D7 #D738AF #D73860
triadic
#D738AF #AFD738 #38AFD7
tetradic
#D738AF #D7AF38 #38D760 #3860D7
square
#D738AF #D7AF38 #38D760 #3860D7
split-complementary
#D738AF #60D738 #38D7AF
monochromatic
#7C1963 #AF238C #D738AF #E16BC3 #EB9ED8

Accessibility & contrast

On white

4.14
#D738AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#D738AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D738AF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D738AF#FFFFFF#000000##000000
##D738AF1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#446CB2
Deuteranopia (green-blind)
#7786AB
Tritanopia (blue-blind)
#E43D70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d738af;
/* rgb */ color: rgb(215, 56, 175);
/* oklch */ color: oklch(61.8% 0.227 340.2);
Tailwind
colors: {
  custom: {
    50: '#e87ec7',
    500: '#d738af',
    950: '#000000',
  },
}
SCSS
$custom: #d738af;
$custom-light: #e87ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#d738af",
  "rgb": {
    "r": 215,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 315.094,
    "s": 66.527,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61848,
    "c": 0.22671,
    "h": 340.2
  },
  "luminance": 0.20371
}

Semantic roles & 50–950 ramp

primary
#D738AF
secondary
#93D8A4
accent
#E9693E
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#170B13
muted
#857C82

Preview Lab

Preview with #D738AF

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

Preview Lab → · Contrast checker → · Palette generator →

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