#9D234F#9D234F

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

Color values

HEX#9D234F
RGBrgb(157, 35, 79)
HSLhsl(338, 64%, 38%)
HSVhsv(338, 78%, 62%)
CMYKcmyk(0%, 77.7%, 49.7%, 38.4%)
CIE-LABlab(35.86, 52.06, 4.68)
CIE-LCHlch(35.86, 52.27, 5.13°)
OKLaboklab(46.79% 0.1593 0.0124)
OKLCHoklch(46.79% 0.16 4.5)
XYZxyz(15.9183, 8.9369, 8.2824)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D234F #239D71
analogous
#9D238C #9D234F #9D3423
triadic
#9D234F #4F9D23 #234F9D
tetradic
#9D234F #8C9D23 #239D71 #34239D
square
#9D234F #8C9D23 #239D71 #34239D
split-complementary
#9D234F #239D34 #238C9D
monochromatic
#390D1D #6B1836 #9D234F #CF2E68 #DB5F8C

Accessibility & contrast

On white

7.53
#9D234F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#9D234F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D234F
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D234F#FFFFFF#000000##FFFFFF
##9D234F1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414550
Deuteranopia (green-blind)
#615D4C
Tritanopia (blue-blind)
#AB0236
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d234f;
/* rgb */ color: rgb(157, 35, 79);
/* oklch */ color: oklch(46.8% 0.160 4.5);
Tailwind
colors: {
  custom: {
    50: '#c06a80',
    500: '#9d234f',
    950: '#000000',
  },
}
SCSS
$custom: #9d234f;
$custom-light: #c06a80;
$custom-dark: #000000;
JSON
{
  "hex": "#9d234f",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 79
  },
  "hsl": {
    "h": 338.361,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46787,
    "c": 0.15981,
    "h": 4.5
  },
  "luminance": 0.08935
}

Semantic roles & 50–950 ramp

primary
#9D234F
secondary
#5CC09C
accent
#E7AB41
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D234F

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

Preview Lab → · Contrast checker → · Palette generator →

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