#D270CB#D270CB

#D270CB is a light, vivid purple. Relative luminance 0.296; OKLCH L 68.7% C 0.166 H 329.9°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#D270CB
RGBrgb(210, 112, 203)
HSLhsl(304, 52%, 63%)
HSVhsv(304, 47%, 82%)
CMYKcmyk(0%, 46.7%, 3.3%, 17.6%)
CIE-LABlab(61.31, 51.05, -30.61)
CIE-LCHlch(61.31, 59.52, 329.05°)
OKLaboklab(68.74% 0.1439 -0.0835)
OKLCHoklch(68.74% 0.166 329.9)
XYZxyz(43.1515, 29.6042, 59.9296)
Luminance0.2960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D270CB #70D277
analogous
#A870D2 #D270CB #D2709A
triadic
#D270CB #CBD270 #70CBD2
tetradic
#D270CB #D2A870 #70D277 #709AD2
square
#D270CB #D2A870 #70D277 #709AD2
split-complementary
#D270CB #9AD270 #70D2A8
monochromatic
#983090 #C341BA #D270CB #E19FDC #EFCDED

Accessibility & contrast

On white

3.03
#D270CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#D270CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D270CB
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D270CB#FFFFFF#000000##000000
##D270CB1.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8CCE
Deuteranopia (green-blind)
#8699C8
Tritanopia (blue-blind)
#D87894
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d270cb;
/* rgb */ color: rgb(210, 112, 203);
/* oklch */ color: oklch(68.7% 0.166 329.9);
Tailwind
colors: {
  custom: {
    50: '#e29cdb',
    500: '#d270cb',
    950: '#000000',
  },
}
SCSS
$custom: #d270cb;
$custom-light: #e29cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#d270cb",
  "rgb": {
    "r": 210,
    "g": 112,
    "b": 203
  },
  "hsl": {
    "h": 304.286,
    "s": 52.128,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68738,
    "c": 0.16638,
    "h": 329.9
  },
  "luminance": 0.29602
}

Semantic roles & 50–950 ramp

primary
#D270CB
secondary
#BDE0C0
accent
#C03126
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D270CB

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

Preview Lab → · Contrast checker → · Palette generator →

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