#D272C8#D272C8

#D272C8 is a light, vivid purple. Relative luminance 0.299; OKLCH L 68.9% C 0.160 H 331.1°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#D272C8
RGBrgb(210, 114, 200)
HSLhsl(306, 52%, 64%)
HSVhsv(306, 46%, 82%)
CMYKcmyk(0%, 45.7%, 4.8%, 17.6%)
CIE-LABlab(61.58, 49.52, -28.50)
CIE-LCHlch(61.58, 57.14, 330.07°)
OKLaboklab(68.89% 0.1404 -0.0775)
OKLCHoklch(68.89% 0.16 331.1)
XYZxyz(43.0206, 29.9088, 58.1394)
Luminance0.2991 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D272C8 #72D27C
analogous
#AC72D2 #D272C8 #D27298
triadic
#D272C8 #C8D272 #72C8D2
tetradic
#D272C8 #D2AC72 #72D27C #7298D2
square
#D272C8 #D2AC72 #72D27C #7298D2
split-complementary
#D272C8 #98D272 #72D2AC
monochromatic
#99318E #C344B6 #D272C8 #E1A0DA #F0CFEC

Accessibility & contrast

On white

3.01
#D272C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#D272C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D272C8
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D272C8#FFFFFF#000000##000000
##D272C81.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8CCB
Deuteranopia (green-blind)
#899AC5
Tritanopia (blue-blind)
#D97994
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d272c8;
/* rgb */ color: rgb(210, 114, 200);
/* oklch */ color: oklch(68.9% 0.160 331.1);
Tailwind
colors: {
  custom: {
    50: '#e29dd9',
    500: '#d272c8',
    950: '#000000',
  },
}
SCSS
$custom: #d272c8;
$custom-light: #e29dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#d272c8",
  "rgb": {
    "r": 210,
    "g": 114,
    "b": 200
  },
  "hsl": {
    "h": 306.25,
    "s": 51.613,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68894,
    "c": 0.16041,
    "h": 331.1
  },
  "luminance": 0.29906
}

Semantic roles & 50–950 ramp

primary
#D272C8
secondary
#BFE1C2
accent
#BF3626
background
#FEF9FD
surface
#FCF2FA
border
#D5CCD3
text
#160F14
muted
#847E83

Preview Lab

Preview with #D272C8

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

Preview Lab → · Contrast checker → · Palette generator →

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