#9D254B#9D254B

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

Color values

HEX#9D254B
RGBrgb(157, 37, 75)
HSLhsl(341, 62%, 38%)
HSVhsv(341, 76%, 62%)
CMYKcmyk(0%, 76.4%, 52.2%, 38.4%)
CIE-LABlab(35.99, 51.06, 7.44)
CIE-LCHlch(35.99, 51.60, 8.29°)
OKLaboklab(46.84% 0.1557 0.0193)
OKLCHoklch(46.84% 0.157 7)
XYZxyz(15.8376, 9.0014, 7.5587)
Luminance0.0900 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D254B #259D77
analogous
#9D2587 #9D254B #9D3B25
triadic
#9D254B #4B9D25 #254B9D
tetradic
#9D254B #879D25 #259D77 #3B259D
square
#9D254B #879D25 #259D77 #3B259D
split-complementary
#9D254B #259D3B #25879D
monochromatic
#3A0E1C #6B1933 #9D254B #CE3163 #DA6288

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D254B#FFFFFF#000000##FFFFFF
##9D254B1.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)
#43454C
Deuteranopia (green-blind)
#635D48
Tritanopia (blue-blind)
#AB0435
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d254b;
/* rgb */ color: rgb(157, 37, 75);
/* oklch */ color: oklch(46.8% 0.157 7.0);
Tailwind
colors: {
  custom: {
    50: '#c06b7d',
    500: '#9d254b',
    950: '#000000',
  },
}
SCSS
$custom: #9d254b;
$custom-light: #c06b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d254b",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 75
  },
  "hsl": {
    "h": 341,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46844,
    "c": 0.15688,
    "h": 7
  },
  "luminance": 0.08999
}

Semantic roles & 50–950 ramp

primary
#9D254B
secondary
#5EBFA1
accent
#E5B243
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D254B

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

Preview Lab → · Contrast checker → · Palette generator →

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