#9D2875#9D2875

#9D2875 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.6% C 0.171 H 345.0°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#9D2875
RGBrgb(157, 40, 117)
HSLhsl(321, 59%, 39%)
HSVhsv(321, 75%, 62%)
CMYKcmyk(0%, 74.5%, 25.5%, 38.4%)
CIE-LABlab(37.79, 54.60, -16.63)
CIE-LCHlch(37.79, 57.08, 343.06°)
OKLaboklab(48.64% 0.1653 -0.0442)
OKLCHoklch(48.64% 0.171 345)
XYZxyz(17.8750, 9.9719, 17.8096)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2875 #289D50
analogous
#8A289D #9D2875 #9D283A
triadic
#9D2875 #759D28 #28759D
tetradic
#9D2875 #9D8A28 #289D50 #283A9D
square
#9D2875 #9D8A28 #289D50 #283A9D
split-complementary
#9D2875 #3A9D28 #289D8A
monochromatic
#3B0F2C #6C1C51 #9D2875 #CC3699 #D867B2

Accessibility & contrast

On white

7.01
#9D2875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9D2875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2875
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2875#FFFFFF#000000##FFFFFF
##9D28751.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364C77
Deuteranopia (green-blind)
#5A6072
Tritanopia (blue-blind)
#A8264B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d2875;
/* rgb */ color: rgb(157, 40, 117);
/* oklch */ color: oklch(48.6% 0.171 345.0);
Tailwind
colors: {
  custom: {
    50: '#be6d9d',
    500: '#9d2875',
    950: '#000000',
  },
}
SCSS
$custom: #9d2875;
$custom-light: #be6d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2875",
  "rgb": {
    "r": 157,
    "g": 40,
    "b": 117
  },
  "hsl": {
    "h": 320.513,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48638,
    "c": 0.17109,
    "h": 345
  },
  "luminance": 0.0997
}

Semantic roles & 50–950 ramp

primary
#9D2875
secondary
#62BE82
accent
#E37B45
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9D2875

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

Preview Lab → · Contrast checker → · Palette generator →

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