#9B245F#9B245F

#9B245F is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.163 H 355.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#9B245F
RGBrgb(155, 36, 95)
HSLhsl(330, 62%, 37%)
HSVhsv(330, 77%, 61%)
CMYKcmyk(0%, 76.8%, 38.7%, 39.2%)
CIE-LABlab(36.10, 52.75, -5.31)
CIE-LCHlch(36.10, 53.02, 354.25°)
OKLaboklab(47.05% 0.162 -0.0133)
OKLCHoklch(47.05% 0.163 355.3)
XYZxyz(16.2151, 9.0586, 11.7188)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B245F #249B60
analogous
#9B249B #9B245F #9B2424
triadic
#9B245F #5F9B24 #245F9B
tetradic
#9B245F #9B9B24 #249B60 #24249B
square
#9B245F #9B9B24 #249B60 #24249B
split-complementary
#9B245F #249B24 #249B9B
monochromatic
#380D22 #691841 #9B245F #CD307D #DA5F9C

Accessibility & contrast

On white

7.47
#9B245F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#9B245F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B245F
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B245F#FFFFFF#000000##FFFFFF
##9B245F1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4761
Deuteranopia (green-blind)
#5D5D5C
Tritanopia (blue-blind)
#A8153E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9b245f;
/* rgb */ color: rgb(155, 36, 95);
/* oklch */ color: oklch(47.1% 0.163 355.3);
Tailwind
colors: {
  custom: {
    50: '#bd6b8c',
    500: '#9b245f',
    950: '#000000',
  },
}
SCSS
$custom: #9b245f;
$custom-light: #bd6b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b245f",
  "rgb": {
    "r": 155,
    "g": 36,
    "b": 95
  },
  "hsl": {
    "h": 330.252,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47054,
    "c": 0.16257,
    "h": 355.3
  },
  "luminance": 0.09057
}

Semantic roles & 50–950 ramp

primary
#9B245F
secondary
#5CBF8E
accent
#E59542
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9B245F

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

Preview Lab → · Contrast checker → · Palette generator →

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