#D272CB#D272CB

#D272CB is a light, vivid purple. Relative luminance 0.300; OKLCH L 69.0% C 0.163 H 329.9°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#D272CB
RGBrgb(210, 114, 203)
HSLhsl(304, 52%, 64%)
HSVhsv(304, 46%, 82%)
CMYKcmyk(0%, 45.7%, 3.3%, 17.6%)
CIE-LABlab(61.70, 50.04, -30.01)
CIE-LCHlch(61.70, 58.35, 329.05°)
OKLaboklab(69.03% 0.1411 -0.0818)
OKLCHoklch(69.03% 0.163 329.9)
XYZxyz(43.3746, 30.0505, 60.0040)
Luminance0.3005 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D272CB #72D279
analogous
#A972D2 #D272CB #D2729B
triadic
#D272CB #CBD272 #72CBD2
tetradic
#D272CB #D2A972 #72D279 #729BD2
square
#D272CB #D2A972 #72D279 #729BD2
split-complementary
#D272CB #9BD272 #72D2A9
monochromatic
#993191 #C344BA #D272CB #E1A0DC #F0CFED

Accessibility & contrast

On white

3.00
#D272CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#D272CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D272CB
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D272CB#FFFFFF#000000##000000
##D272CB1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8DCE
Deuteranopia (green-blind)
#889AC8
Tritanopia (blue-blind)
#D87A95
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d272cb;
/* rgb */ color: rgb(210, 114, 203);
/* oklch */ color: oklch(69.0% 0.163 329.9);
Tailwind
colors: {
  custom: {
    50: '#e29ddb',
    500: '#d272cb',
    950: '#000000',
  },
}
SCSS
$custom: #d272cb;
$custom-light: #e29ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#d272cb",
  "rgb": {
    "r": 210,
    "g": 114,
    "b": 203
  },
  "hsl": {
    "h": 304.375,
    "s": 51.613,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69025,
    "c": 0.16306,
    "h": 329.9
  },
  "luminance": 0.30048
}

Semantic roles & 50–950 ramp

primary
#D272CB
secondary
#BFE1C1
accent
#BF3226
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160F15
muted
#847E83

Preview Lab

Preview with #D272CB

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

Preview Lab → · Contrast checker → · Palette generator →

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