#B0238F#B0238F

#B0238F is a mid, highly saturated pink. Relative luminance 0.124; OKLCH L 52.6% C 0.204 H 339.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#B0238F
RGBrgb(176, 35, 143)
HSLhsl(314, 67%, 41%)
HSVhsv(314, 80%, 69%)
CMYKcmyk(0%, 80.1%, 18.7%, 31%)
CIE-LABlab(41.87, 64.21, -26.09)
CIE-LCHlch(41.87, 69.31, 337.89°)
OKLaboklab(52.61% 0.1917 -0.0706)
OKLCHoklch(52.61% 0.204 339.8)
XYZxyz(23.4641, 12.4177, 27.1424)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0238F #23B044
analogous
#8B23B0 #B0238F #B02348
triadic
#B0238F #8FB023 #238FB0
tetradic
#B0238F #B08B23 #23B044 #2348B0
square
#B0238F #B08B23 #23B044 #2348B0
split-complementary
#B0238F #48B023 #23B08B
monochromatic
#4A0F3C #7D1966 #B0238F #D839B2 #E26CC6

Accessibility & contrast

On white

6.03
#B0238F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#B0238F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0238F
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0238F#FFFFFF#000000##FFFFFF
##B0238F1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5592
Deuteranopia (green-blind)
#5E6B8C
Tritanopia (blue-blind)
#BB2958
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b0238f;
/* rgb */ color: rgb(176, 35, 143);
/* oklch */ color: oklch(52.6% 0.204 339.8);
Tailwind
colors: {
  custom: {
    50: '#cc6fb0',
    500: '#b0238f',
    950: '#000000',
  },
}
SCSS
$custom: #b0238f;
$custom-light: #cc6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#b0238f",
  "rgb": {
    "r": 176,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 314.043,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5261,
    "c": 0.20431,
    "h": 339.8
  },
  "luminance": 0.12415
}

Semantic roles & 50–950 ramp

primary
#B0238F
secondary
#67C87E
accent
#EA663E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B0238F

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

Preview Lab → · Contrast checker → · Palette generator →

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