#B2438D#B2438D

#B2438D is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.8% C 0.166 H 343.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B2438D
RGBrgb(178, 67, 141)
HSLhsl(320, 45%, 48%)
HSVhsv(320, 62%, 70%)
CMYKcmyk(0%, 62.4%, 20.8%, 30.2%)
CIE-LABlab(46.18, 53.08, -18.19)
CIE-LCHlch(46.18, 56.11, 341.08°)
OKLaboklab(55.79% 0.1588 -0.0486)
OKLCHoklch(55.79% 0.166 343)
XYZxyz(25.1757, 15.4047, 26.8416)
Luminance0.1540 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2438D #43B268
analogous
#9F43B2 #B2438D #B24355
triadic
#B2438D #8DB243 #438DB2
tetradic
#B2438D #B29F43 #43B268 #4355B2
square
#B2438D #B29F43 #43B268 #4355B2
split-complementary
#B2438D #55B243 #43B29F
monochromatic
#592247 #86326A #B2438D #C76BA8 #D897C2

Accessibility & contrast

On white

5.15
#B2438D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#B2438D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2438D
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2438D#FFFFFF#000000##FFFFFF
##B2438D1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C628F
Deuteranopia (green-blind)
#6C748A
Tritanopia (blue-blind)
#BD4362
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b2438d;
/* rgb */ color: rgb(178, 67, 141);
/* oklch */ color: oklch(55.8% 0.166 343.0);
Tailwind
colors: {
  custom: {
    50: '#cc7eae',
    500: '#b2438d',
    950: '#000000',
  },
}
SCSS
$custom: #b2438d;
$custom-light: #cc7eae;
$custom-dark: #000000;
JSON
{
  "hex": "#b2438d",
  "rgb": {
    "r": 178,
    "g": 67,
    "b": 141
  },
  "hsl": {
    "h": 320,
    "s": 45.306,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55785,
    "c": 0.16607,
    "h": 343
  },
  "luminance": 0.15402
}

Semantic roles & 50–950 ramp

primary
#B2438D
secondary
#8DC49F
accent
#D57E53
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #B2438D

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

Preview Lab → · Contrast checker → · Palette generator →

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