#BD227F#BD227F

#BD227F is a mid, highly saturated pink. Relative luminance 0.135; OKLCH L 54.0% C 0.204 H 350.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#BD227F
RGBrgb(189, 34, 127)
HSLhsl(324, 70%, 44%)
HSVhsv(324, 82%, 74%)
CMYKcmyk(0%, 82%, 32.8%, 25.9%)
CIE-LABlab(43.50, 65.53, -13.58)
CIE-LCHlch(43.50, 66.93, 348.29°)
OKLaboklab(54.01% 0.2009 -0.0355)
OKLCHoklch(54.01% 0.204 350)
XYZxyz(25.3906, 13.4983, 21.3429)
Luminance0.1349 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD227F #22BD60
analogous
#AD22BD #BD227F #BD2231
triadic
#BD227F #7FBD22 #227FBD
tetradic
#BD227F #BDAD22 #22BD60 #2231BD
square
#BD227F #BDAD22 #22BD60 #2231BD
split-complementary
#BD227F #31BD22 #22BDAD
monochromatic
#550F39 #89195C #BD227F #DD409E #E673B8

Accessibility & contrast

On white

5.68
#BD227F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#BD227F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD227F
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD227F#FFFFFF#000000##FFFFFF
##BD227F1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405581
Deuteranopia (green-blind)
#6D707C
Tritanopia (blue-blind)
#CB134F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #bd227f;
/* rgb */ color: rgb(189, 34, 127);
/* oklch */ color: oklch(54.0% 0.204 350.0);
Tailwind
colors: {
  custom: {
    50: '#d670a4',
    500: '#bd227f',
    950: '#000000',
  },
}
SCSS
$custom: #bd227f;
$custom-light: #d670a4;
$custom-dark: #000000;
JSON
{
  "hex": "#bd227f",
  "rgb": {
    "r": 189,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 324,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54006,
    "c": 0.20404,
    "h": 350
  },
  "luminance": 0.13495
}

Semantic roles & 50–950 ramp

primary
#BD227F
secondary
#6ECD94
accent
#EC823B
background
#FDF7FA
surface
#FBEDF4
border
#D4C8CE
text
#15090F
muted
#837B7F

Preview Lab

Preview with #BD227F

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

Preview Lab → · Contrast checker → · Palette generator →

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