#DB30AF#DB30AF

#DB30AF is a mid, highly saturated pink. Relative luminance 0.203; OKLCH L 61.9% C 0.237 H 341.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#DB30AF
RGBrgb(219, 48, 175)
HSLhsl(315, 70%, 52%)
HSVhsv(315, 78%, 86%)
CMYKcmyk(0%, 78.1%, 20.1%, 14.1%)
CIE-LABlab(52.14, 74.65, -28.63)
CIE-LCHlch(52.14, 79.95, 339.02°)
OKLaboklab(61.89% 0.2238 -0.0772)
OKLCHoklch(61.89% 0.237 341)
XYZxyz(38.0095, 20.2731, 42.4605)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB30AF #30DB5C
analogous
#B230DB #DB30AF #DB3059
triadic
#DB30AF #AFDB30 #30AFDB
tetradic
#DB30AF #DBB230 #30DB5C #3059DB
square
#DB30AF #DBB230 #30DB5C #3059DB
split-complementary
#DB30AF #59DB30 #30DBB2
monochromatic
#7B1561 #AF1E8A #DB30AF #E464C3 #ED98D7

Accessibility & contrast

On white

4.16
#DB30AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#DB30AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB30AF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB30AF#FFFFFF#000000##000000
##DB30AF1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#406BB2
Deuteranopia (green-blind)
#7886AB
Tritanopia (blue-blind)
#E8356D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #db30af;
/* rgb */ color: rgb(219, 48, 175);
/* oklch */ color: oklch(61.9% 0.237 341.0);
Tailwind
colors: {
  custom: {
    50: '#eb7bc7',
    500: '#db30af',
    950: '#000000',
  },
}
SCSS
$custom: #db30af;
$custom-light: #eb7bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#db30af",
  "rgb": {
    "r": 219,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 315.439,
    "s": 70.37,
    "l": 52.353
  },
  "oklch": {
    "l": 0.61894,
    "c": 0.23672,
    "h": 341
  },
  "luminance": 0.20269
}

Semantic roles & 50–950 ramp

primary
#DB30AF
secondary
#8ED9A1
accent
#ED693B
background
#FFF8FC
surface
#FEEFF8
border
#D6CAD1
text
#170B13
muted
#857C82

Preview Lab

Preview with #DB30AF

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

Preview Lab → · Contrast checker → · Palette generator →

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