#D262BC#D262BC

#D262BC is a light, vivid pink. Relative luminance 0.261; OKLCH L 66.2% C 0.177 H 335.5°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#D262BC
RGBrgb(210, 98, 188)
HSLhsl(312, 55%, 60%)
HSVhsv(312, 53%, 82%)
CMYKcmyk(0%, 53.3%, 10.5%, 17.6%)
CIE-LABlab(58.10, 55.35, -27.04)
CIE-LCHlch(58.10, 61.60, 333.97°)
OKLaboklab(66.16% 0.1606 -0.0732)
OKLCHoklch(66.16% 0.177 335.5)
XYZxyz(40.0233, 26.0707, 50.4913)
Luminance0.2607 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D262BC #62D278
analogous
#B062D2 #D262BC #D26284
triadic
#D262BC #BCD262 #62BCD2
tetradic
#D262BC #D2B062 #62D278 #6284D2
square
#D262BC #D2B062 #62D278 #6284D2
split-complementary
#D262BC #84D262 #62D2B0
monochromatic
#90297C #C037A5 #D262BC #E092D0 #EDC1E5

Accessibility & contrast

On white

3.38
#D262BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#D262BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D262BC
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D262BC#FFFFFF#000000##000000
##D262BC1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6381BF
Deuteranopia (green-blind)
#8392B9
Tritanopia (blue-blind)
#DB6886
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d262bc;
/* rgb */ color: rgb(210, 98, 188);
/* oklch */ color: oklch(66.2% 0.177 335.5);
Tailwind
colors: {
  custom: {
    50: '#e293d0',
    500: '#d262bc',
    950: '#000000',
  },
}
SCSS
$custom: #d262bc;
$custom-light: #e293d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d262bc",
  "rgb": {
    "r": 210,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 311.786,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66156,
    "c": 0.17654,
    "h": 335.5
  },
  "luminance": 0.26068
}

Semantic roles & 50–950 ramp

primary
#D262BC
secondary
#B3DDBB
accent
#C34223
background
#FEF9FC
surface
#FCF2F9
border
#D5CCD2
text
#160D14
muted
#847E82

Preview Lab

Preview with #D262BC

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

Preview Lab → · Contrast checker → · Palette generator →

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