#B2149D#B2149D

#B2149D is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.9% C 0.225 H 335.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#B2149D
RGBrgb(178, 20, 157)
HSLhsl(308, 80%, 39%)
HSVhsv(308, 89%, 70%)
CMYKcmyk(0%, 88.8%, 11.8%, 30.2%)
CIE-LABlab(41.85, 69.71, -34.58)
CIE-LCHlch(41.85, 77.82, 333.61°)
OKLaboklab(52.89% 0.204 -0.0948)
OKLCHoklch(52.89% 0.225 335.1)
XYZxyz(24.6964, 12.4020, 32.9849)
Luminance0.1240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2149D #14B229
analogous
#7814B2 #B2149D #B2144E
triadic
#B2149D #9DB214 #149DB2
tetradic
#B2149D #B27814 #14B229 #144EB2
square
#B2149D #B27814 #14B229 #144EB2
split-complementary
#B2149D #4EB214 #14B278
monochromatic
#44083C #7B0E6C #B2149D #E61ECB #EC55D8

Accessibility & contrast

On white

6.03
#B2149D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#B2149D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2149D
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2149D#FFFFFF#000000##FFFFFF
##B2149D1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1255A0
Deuteranopia (green-blind)
#566A9A
Tritanopia (blue-blind)
#BB285D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b2149d;
/* rgb */ color: rgb(178, 20, 157);
/* oklch */ color: oklch(52.9% 0.225 335.1);
Tailwind
colors: {
  custom: {
    50: '#ce6cba',
    500: '#b2149d',
    950: '#000000',
  },
}
SCSS
$custom: #b2149d;
$custom-light: #ce6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#b2149d",
  "rgb": {
    "r": 178,
    "g": 20,
    "b": 157
  },
  "hsl": {
    "h": 307.975,
    "s": 79.798,
    "l": 38.824
  },
  "oklch": {
    "l": 0.52887,
    "c": 0.22496,
    "h": 335.1
  },
  "luminance": 0.124
}

Semantic roles & 50–950 ramp

primary
#B2149D
secondary
#53CE64
accent
#F64C32
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140812
muted
#837B81

Preview Lab

Preview with #B2149D

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

Preview Lab → · Contrast checker → · Palette generator →

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