#B3258B#B3258B

#B3258B is a mid, highly saturated pink. Relative luminance 0.128; OKLCH L 53.0% C 0.202 H 342.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#B3258B
RGBrgb(179, 37, 139)
HSLhsl(317, 66%, 42%)
HSVhsv(317, 79%, 70%)
CMYKcmyk(0%, 79.3%, 22.3%, 29.8%)
CIE-LABlab(42.42, 63.84, -22.76)
CIE-LCHlch(42.42, 67.77, 340.38°)
OKLaboklab(53.04% 0.1923 -0.0611)
OKLCHoklch(53.04% 0.202 342.4)
XYZxyz(23.9131, 12.7735, 25.6273)
Luminance0.1277 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3258B #25B34D
analogous
#9425B3 #B3258B #B32544
triadic
#B3258B #8BB325 #258BB3
tetradic
#B3258B #B39425 #25B34D #2544B3
square
#B3258B #B39425 #25B34D #2544B3
split-complementary
#B3258B #44B325 #25B394
monochromatic
#4E103C #801B64 #B3258B #D73EAC #E271C2

Accessibility & contrast

On white

5.91
#B3258B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B3258B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3258B
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3258B#FFFFFF#000000##FFFFFF
##B3258B1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558E
Deuteranopia (green-blind)
#626C88
Tritanopia (blue-blind)
#BF2756
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b3258b;
/* rgb */ color: rgb(179, 37, 139);
/* oklch */ color: oklch(53.0% 0.202 342.4);
Tailwind
colors: {
  custom: {
    50: '#ce70ad',
    500: '#b3258b',
    950: '#000000',
  },
}
SCSS
$custom: #b3258b;
$custom-light: #ce70ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b3258b",
  "rgb": {
    "r": 179,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 316.901,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53045,
    "c": 0.20176,
    "h": 342.4
  },
  "luminance": 0.12771
}

Semantic roles & 50–950 ramp

primary
#B3258B
secondary
#6BC886
accent
#E96F3F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B3258B

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

Preview Lab → · Contrast checker → · Palette generator →

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