#BD228D#BD228D

#BD228D is a mid, highly saturated pink. Relative luminance 0.139; OKLCH L 54.6% C 0.211 H 344.4°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#BD228D
RGBrgb(189, 34, 141)
HSLhsl(319, 70%, 44%)
HSVhsv(319, 82%, 74%)
CMYKcmyk(0%, 82%, 25.4%, 25.9%)
CIE-LABlab(44.07, 67.16, -21.27)
CIE-LCHlch(44.07, 70.45, 342.42°)
OKLaboklab(54.6% 0.2037 -0.0568)
OKLCHoklch(54.6% 0.211 344.4)
XYZxyz(26.3672, 13.8889, 26.4864)
Luminance0.1389 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD228D #22BD52
analogous
#9F22BD #BD228D #BD223F
triadic
#BD228D #8DBD22 #228DBD
tetradic
#BD228D #BD9F22 #22BD52 #223FBD
square
#BD228D #BD9F22 #22BD52 #223FBD
split-complementary
#BD228D #3FBD22 #22BD9F
monochromatic
#550F40 #891966 #BD228D #DD40AC #E673C2

Accessibility & contrast

On white

5.56
#BD228D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#BD228D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD228D
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD228D#FFFFFF#000000##FFFFFF
##BD228D1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385890
Deuteranopia (green-blind)
#69718A
Tritanopia (blue-blind)
#CA2057
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #bd228d;
/* rgb */ color: rgb(189, 34, 141);
/* oklch */ color: oklch(54.6% 0.211 344.4);
Tailwind
colors: {
  custom: {
    50: '#d671ae',
    500: '#bd228d',
    950: '#000000',
  },
}
SCSS
$custom: #bd228d;
$custom-light: #d671ae;
$custom-dark: #000000;
JSON
{
  "hex": "#bd228d",
  "rgb": {
    "r": 189,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 318.581,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54603,
    "c": 0.21147,
    "h": 344.4
  },
  "luminance": 0.13886
}

Semantic roles & 50–950 ramp

primary
#BD228D
secondary
#6ECD8B
accent
#EC723B
background
#FDF7FA
surface
#FBEDF4
border
#D4C8CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BD228D

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

Preview Lab → · Contrast checker → · Palette generator →

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