#BD228C#BD228C

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

Color values

HEX#BD228C
RGBrgb(189, 34, 140)
HSLhsl(319, 70%, 44%)
HSVhsv(319, 82%, 74%)
CMYKcmyk(0%, 82%, 25.9%, 25.9%)
CIE-LABlab(44.03, 67.04, -20.73)
CIE-LCHlch(44.03, 70.17, 342.82°)
OKLaboklab(54.56% 0.2035 -0.0553)
OKLCHoklch(54.56% 0.211 344.8)
XYZxyz(26.2931, 13.8593, 26.0963)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD228C #22BD53
analogous
#A022BD #BD228C #BD223E
triadic
#BD228C #8CBD22 #228CBD
tetradic
#BD228C #BDA022 #22BD53 #223EBD
square
#BD228C #BDA022 #22BD53 #223EBD
split-complementary
#BD228C #3EBD22 #22BDA0
monochromatic
#550F3F #891966 #BD228C #DD40AB #E673C2

Accessibility & contrast

On white

5.57
#BD228C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#BD228C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD228C
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD228C#FFFFFF#000000##FFFFFF
##BD228C1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39588F
Deuteranopia (green-blind)
#697189
Tritanopia (blue-blind)
#CA1F56
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #bd228c;
/* rgb */ color: rgb(189, 34, 140);
/* oklch */ color: oklch(54.6% 0.211 344.8);
Tailwind
colors: {
  custom: {
    50: '#d671ad',
    500: '#bd228c',
    950: '#000000',
  },
}
SCSS
$custom: #bd228c;
$custom-light: #d671ad;
$custom-dark: #000000;
JSON
{
  "hex": "#bd228c",
  "rgb": {
    "r": 189,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 318.968,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54558,
    "c": 0.2109,
    "h": 344.8
  },
  "luminance": 0.13856
}

Semantic roles & 50–950 ramp

primary
#BD228C
secondary
#6ECD8C
accent
#EC733B
background
#FDF7FA
surface
#FBEDF4
border
#D4C8CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BD228C

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

Preview Lab → · Contrast checker → · Palette generator →

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