#9D234A#9D234A

#9D234A is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.6% C 0.159 H 7.2°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#9D234A
RGBrgb(157, 35, 74)
HSLhsl(341, 64%, 38%)
HSVhsv(341, 78%, 62%)
CMYKcmyk(0%, 77.7%, 52.9%, 38.4%)
CIE-LABlab(35.73, 51.63, 7.71)
CIE-LCHlch(35.73, 52.21, 8.50°)
OKLaboklab(46.64% 0.1574 0.0199)
OKLCHoklch(46.64% 0.159 7.2)
XYZxyz(15.7431, 8.8668, 7.3597)
Luminance0.0887 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D234A #239D76
analogous
#9D2387 #9D234A #9D3923
triadic
#9D234A #4A9D23 #234A9D
tetradic
#9D234A #879D23 #239D76 #39239D
square
#9D234A #879D23 #239D76 #39239D
split-complementary
#9D234A #239D39 #23879D
monochromatic
#390D1B #6B1832 #9D234A #CF2E62 #DB5F87

Accessibility & contrast

On white

7.57
#9D234A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9D234A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D234A
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D234A#FFFFFF#000000##FFFFFF
##9D234A1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42444B
Deuteranopia (green-blind)
#625D47
Tritanopia (blue-blind)
#AB0034
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d234a;
/* rgb */ color: rgb(157, 35, 74);
/* oklch */ color: oklch(46.6% 0.159 7.2);
Tailwind
colors: {
  custom: {
    50: '#c06a7c',
    500: '#9d234a',
    950: '#000000',
  },
}
SCSS
$custom: #9d234a;
$custom-light: #c06a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d234a",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 74
  },
  "hsl": {
    "h": 340.82,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46643,
    "c": 0.15868,
    "h": 7.2
  },
  "luminance": 0.08865
}

Semantic roles & 50–950 ramp

primary
#9D234A
secondary
#5CC0A0
accent
#E7B241
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D234A

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

Preview Lab → · Contrast checker → · Palette generator →

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