#B6398E#B6398E

#B6398E is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.3% C 0.183 H 343.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B6398E
RGBrgb(182, 57, 142)
HSLhsl(319, 52%, 47%)
HSVhsv(319, 69%, 71%)
CMYKcmyk(0%, 68.7%, 22%, 28.6%)
CIE-LABlab(45.40, 58.42, -19.95)
CIE-LCHlch(45.40, 61.73, 341.15°)
OKLaboklab(55.35% 0.1755 -0.0533)
OKLCHoklch(55.35% 0.183 343.1)
XYZxyz(25.6379, 14.8269, 27.0976)
Luminance0.1482 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6398E #39B661
analogous
#A039B6 #B6398E #B63950
triadic
#B6398E #8EB639 #398EB6
tetradic
#B6398E #B6A039 #39B661 #3950B6
square
#B6398E #B6A039 #39B661 #3950B6
split-complementary
#B6398E #50B639 #39B6A0
monochromatic
#591C45 #872A6A #B6398E #CD5FAA #DC8EC3

Accessibility & contrast

On white

5.30
#B6398E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#B6398E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B6398E
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6398E#FFFFFF#000000##FFFFFF
##B6398E1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455E90
Deuteranopia (green-blind)
#6A738B
Tritanopia (blue-blind)
#C1395E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b6398e;
/* rgb */ color: rgb(182, 57, 142);
/* oklch */ color: oklch(55.3% 0.183 343.1);
Tailwind
colors: {
  custom: {
    50: '#d079af',
    500: '#b6398e',
    950: '#000000',
  },
}
SCSS
$custom: #b6398e;
$custom-light: #d079af;
$custom-dark: #000000;
JSON
{
  "hex": "#b6398e",
  "rgb": {
    "r": 182,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 319.2,
    "s": 52.301,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55347,
    "c": 0.18343,
    "h": 343.1
  },
  "luminance": 0.14824
}

Semantic roles & 50–950 ramp

primary
#B6398E
secondary
#85C69A
accent
#DC7A4C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B6398E

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

Preview Lab → · Contrast checker → · Palette generator →

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