#B3238B#B3238B

#B3238B is a mid, highly saturated pink. Relative luminance 0.127; OKLCH L 52.9% C 0.204 H 342.3°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B3238B
RGBrgb(179, 35, 139)
HSLhsl(317, 67%, 42%)
HSVhsv(317, 80%, 70%)
CMYKcmyk(0%, 80.4%, 22.3%, 29.8%)
CIE-LABlab(42.23, 64.37, -23.05)
CIE-LCHlch(42.23, 68.37, 340.30°)
OKLaboklab(52.91% 0.1939 -0.0619)
OKLCHoklch(52.91% 0.204 342.3)
XYZxyz(23.8525, 12.6524, 25.6071)
Luminance0.1265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3238B #23B34B
analogous
#9323B3 #B3238B #B32343
triadic
#B3238B #8BB323 #238BB3
tetradic
#B3238B #B39323 #23B34B #2343B3
square
#B3238B #B39323 #23B34B #2343B3
split-complementary
#B3238B #43B323 #23B393
monochromatic
#4D0F3B #801963 #B3238B #D93BAD #E36EC2

Accessibility & contrast

On white

5.95
#B3238B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B3238B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3238B
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3238B#FFFFFF#000000##FFFFFF
##B3238B1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3238b;
/* rgb */ color: rgb(179, 35, 139);
/* oklch */ color: oklch(52.9% 0.204 342.3);
Tailwind
colors: {
  custom: {
    50: '#ce70ad',
    500: '#b3238b',
    950: '#000000',
  },
}
SCSS
$custom: #b3238b;
$custom-light: #ce70ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b3238b",
  "rgb": {
    "r": 179,
    "g": 35,
    "b": 139
  },
  "hsl": {
    "h": 316.667,
    "s": 67.29,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52912,
    "c": 0.20357,
    "h": 342.3
  },
  "luminance": 0.1265
}

Semantic roles & 50–950 ramp

primary
#B3238B
secondary
#69C984
accent
#EA6E3E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B3238B

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

Preview Lab → · Contrast checker → · Palette generator →

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