#DA3271#DA3271

#DA3271 is a mid, highly saturated pink. Relative luminance 0.184; OKLCH L 59.6% C 0.206 H 3.8°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#DA3271
RGBrgb(218, 50, 113)
HSLhsl(338, 69%, 53%)
HSVhsv(338, 77%, 85%)
CMYKcmyk(0%, 77.1%, 48.2%, 14.5%)
CIE-LABlab(49.96, 67.25, 5.13)
CIE-LCHlch(49.96, 67.45, 4.36°)
OKLaboklab(59.55% 0.206 0.0138)
OKLCHoklch(59.55% 0.206 3.8)
XYZxyz(33.0375, 18.3834, 17.4283)
Luminance0.1838 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA3271 #32DA9B
analogous
#DA32C5 #DA3271 #DA4732
triadic
#DA3271 #71DA32 #3271DA
tetradic
#DA3271 #C5DA32 #32DA9B #4732DA
square
#DA3271 #C5DA32 #32DA9B #4732DA
split-complementary
#DA3271 #32DA47 #32C5DA
monochromatic
#7B163C #AF2055 #DA3271 #E36695 #ED9AB9

Accessibility & contrast

On white

4.49
#DA3271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#DA3271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DA3271
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA3271#FFFFFF#000000##000000
##DA32711.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6272
Deuteranopia (green-blind)
#88836D
Tritanopia (blue-blind)
#ED004E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #da3271;
/* rgb */ color: rgb(218, 50, 113);
/* oklch */ color: oklch(59.6% 0.206 3.8);
Tailwind
colors: {
  custom: {
    50: '#ec7a99',
    500: '#da3271',
    950: '#000000',
  },
}
SCSS
$custom: #da3271;
$custom-light: #ec7a99;
$custom-dark: #000000;
JSON
{
  "hex": "#da3271",
  "rgb": {
    "r": 218,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 337.5,
    "s": 69.421,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5955,
    "c": 0.20647,
    "h": 3.8
  },
  "luminance": 0.18379
}

Semantic roles & 50–950 ramp

primary
#DA3271
secondary
#8FD8BD
accent
#ECAA3C
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #DA3271

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

Preview Lab → · Contrast checker → · Palette generator →

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