#B3238E#B3238E

#B3238E is a mid, highly saturated pink. Relative luminance 0.127; OKLCH L 53.1% C 0.205 H 341.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#B3238E
RGBrgb(179, 35, 142)
HSLhsl(315, 67%, 42%)
HSVhsv(315, 80%, 70%)
CMYKcmyk(0%, 80.4%, 20.7%, 29.8%)
CIE-LABlab(42.37, 64.76, -24.66)
CIE-LCHlch(42.37, 69.30, 339.15°)
OKLaboklab(53.05% 0.1943 -0.0665)
OKLCHoklch(53.05% 0.205 341.1)
XYZxyz(24.0747, 12.7413, 26.7774)
Luminance0.1274 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3238E #23B348
analogous
#9023B3 #B3238E #B32346
triadic
#B3238E #8EB323 #238EB3
tetradic
#B3238E #B39023 #23B348 #2346B3
square
#B3238E #B39023 #23B348 #2346B3
split-complementary
#B3238E #46B323 #23B390
monochromatic
#4D0F3D #801965 #B3238E #D93BB0 #E36EC5

Accessibility & contrast

On white

5.92
#B3238E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B3238E
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3238E#FFFFFF#000000##FFFFFF
##B3238E1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315591
Deuteranopia (green-blind)
#616C8B
Tritanopia (blue-blind)
#BE2757
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b3238e;
/* rgb */ color: rgb(179, 35, 142);
/* oklch */ color: oklch(53.1% 0.205 341.1);
Tailwind
colors: {
  custom: {
    50: '#ce70af',
    500: '#b3238e',
    950: '#000000',
  },
}
SCSS
$custom: #b3238e;
$custom-light: #ce70af;
$custom-dark: #000000;
JSON
{
  "hex": "#b3238e",
  "rgb": {
    "r": 179,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 315.417,
    "s": 67.29,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53054,
    "c": 0.20539,
    "h": 341.1
  },
  "luminance": 0.12739
}

Semantic roles & 50–950 ramp

primary
#B3238E
secondary
#69C982
accent
#EA6A3E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B3238E

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

Preview Lab → · Contrast checker → · Palette generator →

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