#9B245D#9B245D

#9B245D is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.162 H 356.4°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#9B245D
RGBrgb(155, 36, 93)
HSLhsl(331, 62%, 37%)
HSVhsv(331, 77%, 61%)
CMYKcmyk(0%, 76.8%, 40%, 39.2%)
CIE-LABlab(36.03, 52.54, -4.13)
CIE-LCHlch(36.03, 52.70, 355.50°)
OKLaboklab(46.98% 0.1614 -0.0102)
OKLCHoklch(46.98% 0.162 356.4)
XYZxyz(16.1254, 9.0227, 11.2462)
Luminance0.0902 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B245D #249B62
analogous
#9B2498 #9B245D #9B2724
triadic
#9B245D #5D9B24 #245D9B
tetradic
#9B245D #989B24 #249B62 #27249B
square
#9B245D #989B24 #249B62 #27249B
split-complementary
#9B245D #249B27 #24989B
monochromatic
#380D21 #69183F #9B245D #CD307B #DA5F9A

Accessibility & contrast

On white

7.49
#9B245D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#9B245D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B245D
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B245D#FFFFFF#000000##FFFFFF
##9B245D1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D475E
Deuteranopia (green-blind)
#5D5D5A
Tritanopia (blue-blind)
#A8143D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9b245d;
/* rgb */ color: rgb(155, 36, 93);
/* oklch */ color: oklch(47.0% 0.162 356.4);
Tailwind
colors: {
  custom: {
    50: '#bd6b8a',
    500: '#9b245d',
    950: '#000000',
  },
}
SCSS
$custom: #9b245d;
$custom-light: #bd6b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b245d",
  "rgb": {
    "r": 155,
    "g": 36,
    "b": 93
  },
  "hsl": {
    "h": 331.261,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46981,
    "c": 0.16172,
    "h": 356.4
  },
  "luminance": 0.09021
}

Semantic roles & 50–950 ramp

primary
#9B245D
secondary
#5CBF8F
accent
#E59742
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9B245D

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

Preview Lab → · Contrast checker → · Palette generator →

#9B245D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva