#B0238A#B0238A

#B0238A is a mid, highly saturated pink. Relative luminance 0.123; OKLCH L 52.4% C 0.201 H 341.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#B0238A
RGBrgb(176, 35, 138)
HSLhsl(316, 67%, 41%)
HSVhsv(316, 80%, 69%)
CMYKcmyk(0%, 80.1%, 21.6%, 31%)
CIE-LABlab(41.64, 63.55, -23.40)
CIE-LCHlch(41.64, 67.72, 339.79°)
OKLaboklab(52.37% 0.1911 -0.063)
OKLCHoklch(52.37% 0.201 341.8)
XYZxyz(23.0938, 12.2696, 25.1919)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0238A #23B049
analogous
#9023B0 #B0238A #B02344
triadic
#B0238A #8AB023 #238AB0
tetradic
#B0238A #B09023 #23B049 #2344B0
square
#B0238A #B09023 #23B049 #2344B0
split-complementary
#B0238A #44B023 #23B090
monochromatic
#4A0F3A #7D1962 #B0238A #D839AD #E26CC2

Accessibility & contrast

On white

6.08
#B0238A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B0238A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0238A
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0238A#FFFFFF#000000##FFFFFF
##B0238A1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32548D
Deuteranopia (green-blind)
#606A87
Tritanopia (blue-blind)
#BB2655
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b0238a;
/* rgb */ color: rgb(176, 35, 138);
/* oklch */ color: oklch(52.4% 0.201 341.8);
Tailwind
colors: {
  custom: {
    50: '#cc6fac',
    500: '#b0238a',
    950: '#000000',
  },
}
SCSS
$custom: #b0238a;
$custom-light: #cc6fac;
$custom-dark: #000000;
JSON
{
  "hex": "#b0238a",
  "rgb": {
    "r": 176,
    "g": 35,
    "b": 138
  },
  "hsl": {
    "h": 316.17,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52368,
    "c": 0.20119,
    "h": 341.8
  },
  "luminance": 0.12267
}

Semantic roles & 50–950 ramp

primary
#B0238A
secondary
#67C881
accent
#EA6C3E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B0238A

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

Preview Lab → · Contrast checker → · Palette generator →

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