#B5438F#B5438F

#B5438F is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.3% C 0.170 H 343.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B5438F
RGBrgb(181, 67, 143)
HSLhsl(320, 46%, 49%)
HSVhsv(320, 63%, 71%)
CMYKcmyk(0%, 63%, 21%, 29%)
CIE-LABlab(46.74, 54.22, -18.50)
CIE-LCHlch(46.74, 57.29, 341.16°)
OKLaboklab(56.32% 0.1624 -0.0494)
OKLCHoklch(56.32% 0.17 343.1)
XYZxyz(26.0219, 15.8237, 27.6651)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5438F #43B569
analogous
#A243B5 #B5438F #B54356
triadic
#B5438F #8FB543 #438FB5
tetradic
#B5438F #B5A243 #43B569 #4356B5
square
#B5438F #B5A243 #43B569 #4356B5
split-complementary
#B5438F #56B543 #43B5A2
monochromatic
#5C2248 #88326C #B5438F #C96CAA #D999C4

Accessibility & contrast

On white

5.04
#B5438F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#B5438F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5438F
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5438F#FFFFFF#000000##FFFFFF
##B5438F1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6391
Deuteranopia (green-blind)
#6E768C
Tritanopia (blue-blind)
#C04363
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b5438f;
/* rgb */ color: rgb(181, 67, 143);
/* oklch */ color: oklch(56.3% 0.170 343.1);
Tailwind
colors: {
  custom: {
    50: '#ce7eb0',
    500: '#b5438f',
    950: '#000000',
  },
}
SCSS
$custom: #b5438f;
$custom-light: #ce7eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#b5438f",
  "rgb": {
    "r": 181,
    "g": 67,
    "b": 143
  },
  "hsl": {
    "h": 320,
    "s": 45.968,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56315,
    "c": 0.1697,
    "h": 343.1
  },
  "luminance": 0.15821
}

Semantic roles & 50–950 ramp

primary
#B5438F
secondary
#8FC5A1
accent
#D67E52
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B5438F

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

Preview Lab → · Contrast checker → · Palette generator →

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