#9D254E#9D254E

#9D254E is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.158 H 5.4°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#9D254E
RGBrgb(157, 37, 78)
HSLhsl(340, 62%, 38%)
HSVhsv(340, 76%, 62%)
CMYKcmyk(0%, 76.4%, 50.3%, 38.4%)
CIE-LABlab(36.07, 51.32, 5.62)
CIE-LCHlch(36.07, 51.62, 6.24°)
OKLaboklab(46.93% 0.1568 0.0148)
OKLCHoklch(46.93% 0.158 5.4)
XYZxyz(15.9427, 9.0435, 8.1123)
Luminance0.0904 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D254E #259D74
analogous
#9D258A #9D254E #9D3825
triadic
#9D254E #4E9D25 #254E9D
tetradic
#9D254E #8A9D25 #259D74 #38259D
square
#9D254E #8A9D25 #259D74 #38259D
split-complementary
#9D254E #259D38 #258A9D
monochromatic
#3A0E1D #6B1935 #9D254E #CE3167 #DA628B

Accessibility & contrast

On white

7.48
#9D254E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D254E
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D254E#FFFFFF#000000##FFFFFF
##9D254E1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42464F
Deuteranopia (green-blind)
#625D4B
Tritanopia (blue-blind)
#AB0736
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d254e;
/* rgb */ color: rgb(157, 37, 78);
/* oklch */ color: oklch(46.9% 0.158 5.4);
Tailwind
colors: {
  custom: {
    50: '#c06b7f',
    500: '#9d254e',
    950: '#000000',
  },
}
SCSS
$custom: #9d254e;
$custom-light: #c06b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d254e",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 78
  },
  "hsl": {
    "h": 339.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4693,
    "c": 0.15753,
    "h": 5.4
  },
  "luminance": 0.09041
}

Semantic roles & 50–950 ramp

primary
#9D254E
secondary
#5EBF9E
accent
#E5AE43
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D254E

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

Preview Lab → · Contrast checker → · Palette generator →

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