#D235B2#D235B2

#D235B2 is a mid, highly saturated pink. Relative luminance 0.195; OKLCH L 61.0% C 0.229 H 337.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#D235B2
RGBrgb(210, 53, 178)
HSLhsl(312, 64%, 52%)
HSVhsv(312, 75%, 82%)
CMYKcmyk(0%, 74.8%, 15.2%, 17.6%)
CIE-LABlab(51.23, 71.61, -31.93)
CIE-LCHlch(51.23, 78.41, 335.97°)
OKLaboklab(60.99% 0.2117 -0.0867)
OKLCHoklch(60.99% 0.229 337.7)
XYZxyz(35.8881, 19.4656, 43.9780)
Luminance0.1946 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D235B2 #35D255
analogous
#A435D2 #D235B2 #D23564
triadic
#D235B2 #B2D235 #35B2D2
tetradic
#D235B2 #D2A435 #35D255 #3564D2
square
#D235B2 #D2A435 #35D255 #3564D2
split-complementary
#D235B2 #64D235 #35D2A4
monochromatic
#731A61 #A5258B #D235B2 #DD67C5 #E899D8

Accessibility & contrast

On white

4.29
#D235B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#D235B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D235B2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D235B2#FFFFFF#000000##000000
##D235B21.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6BB5
Deuteranopia (green-blind)
#7183AE
Tritanopia (blue-blind)
#DE3E70
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d235b2;
/* rgb */ color: rgb(210, 53, 178);
/* oklch */ color: oklch(61.0% 0.229 337.7);
Tailwind
colors: {
  custom: {
    50: '#e47cc9',
    500: '#d235b2',
    950: '#000000',
  },
}
SCSS
$custom: #d235b2;
$custom-light: #e47cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#d235b2",
  "rgb": {
    "r": 210,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 312.229,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60989,
    "c": 0.22881,
    "h": 337.7
  },
  "luminance": 0.19462
}

Semantic roles & 50–950 ramp

primary
#D235B2
secondary
#8FD49D
accent
#E76341
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D235B2

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

Preview Lab → · Contrast checker → · Palette generator →

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