#9A2852#9A2852

#9A2852 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.8% C 0.153 H 2.9°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#9A2852
RGBrgb(154, 40, 82)
HSLhsl(338, 59%, 38%)
HSVhsv(338, 74%, 60%)
CMYKcmyk(0%, 74%, 46.8%, 39.6%)
CIE-LABlab(35.98, 49.75, 2.84)
CIE-LCHlch(35.98, 49.83, 3.27°)
OKLaboklab(46.8% 0.1524 0.0078)
OKLCHoklch(46.8% 0.153 2.9)
XYZxyz(15.6095, 8.9988, 8.8960)
Luminance0.0900 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2852 #289A70
analogous
#9A288B #9A2852 #9A3728
triadic
#9A2852 #529A28 #28529A
tetradic
#9A2852 #8B9A28 #289A70 #37289A
square
#9A2852 #8B9A28 #289A70 #37289A
split-complementary
#9A2852 #289A37 #288B9A
monochromatic
#390F1E #691B38 #9A2852 #CA356C #D7658F

Accessibility & contrast

On white

7.50
#9A2852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A2852
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2852#FFFFFF#000000##FFFFFF
##9A28521.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424653
Deuteranopia (green-blind)
#605D4F
Tritanopia (blue-blind)
#A8143A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9a2852;
/* rgb */ color: rgb(154, 40, 82);
/* oklch */ color: oklch(46.8% 0.153 2.9);
Tailwind
colors: {
  custom: {
    50: '#bd6c82',
    500: '#9a2852',
    950: '#000000',
  },
}
SCSS
$custom: #9a2852;
$custom-light: #bd6c82;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2852",
  "rgb": {
    "r": 154,
    "g": 40,
    "b": 82
  },
  "hsl": {
    "h": 337.895,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46799,
    "c": 0.15255,
    "h": 2.9
  },
  "luminance": 0.08997
}

Semantic roles & 50–950 ramp

primary
#9A2852
secondary
#61BD9B
accent
#E2A846
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9A2852

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

Preview Lab → · Contrast checker → · Palette generator →

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