#9D234E#9D234E

#9D234E is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.160 H 5.0°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#9D234E
RGBrgb(157, 35, 78)
HSLhsl(339, 64%, 38%)
HSVhsv(339, 78%, 62%)
CMYKcmyk(0%, 77.7%, 50.3%, 38.4%)
CIE-LABlab(35.83, 51.97, 5.28)
CIE-LCHlch(35.83, 52.24, 5.80°)
OKLaboklab(46.76% 0.159 0.014)
OKLCHoklch(46.76% 0.16 5)
XYZxyz(15.8822, 8.9224, 8.0921)
Luminance0.0892 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D234E #239D72
analogous
#9D238B #9D234E #9D3523
triadic
#9D234E #4E9D23 #234E9D
tetradic
#9D234E #8B9D23 #239D72 #35239D
square
#9D234E #8B9D23 #239D72 #35239D
split-complementary
#9D234E #239D35 #238B9D
monochromatic
#390D1C #6B1835 #9D234E #CF2E67 #DB5F8B

Accessibility & contrast

On white

7.54
#9D234E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#9D234E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D234E
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D234E#FFFFFF#000000##FFFFFF
##9D234E1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41454F
Deuteranopia (green-blind)
#625D4B
Tritanopia (blue-blind)
#AB0136
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d234e;
/* rgb */ color: rgb(157, 35, 78);
/* oklch */ color: oklch(46.8% 0.160 5.0);
Tailwind
colors: {
  custom: {
    50: '#c06a7f',
    500: '#9d234e',
    950: '#000000',
  },
}
SCSS
$custom: #9d234e;
$custom-light: #c06a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d234e",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 78
  },
  "hsl": {
    "h": 338.852,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46758,
    "c": 0.15956,
    "h": 5
  },
  "luminance": 0.0892
}

Semantic roles & 50–950 ramp

primary
#9D234E
secondary
#5CC09D
accent
#E7AC41
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D234E

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

Preview Lab → · Contrast checker → · Palette generator →

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