#A23874#A23874

#A23874 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.0% C 0.154 H 348.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A23874
RGBrgb(162, 56, 116)
HSLhsl(326, 49%, 43%)
HSVhsv(326, 65%, 64%)
CMYKcmyk(0%, 65.4%, 28.4%, 36.5%)
CIE-LABlab(40.85, 49.68, -11.27)
CIE-LCHlch(40.85, 50.94, 347.22°)
OKLaboklab(51.03% 0.1508 -0.0295)
OKLCHoklch(51.03% 0.154 348.9)
XYZxyz(19.4677, 11.7727, 17.7667)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23874 #38A266
analogous
#9B38A2 #A23874 #A2383F
triadic
#A23874 #74A238 #3874A2
tetradic
#A23874 #A29B38 #38A266 #383FA2
square
#A23874 #A29B38 #38A266 #383FA2
split-complementary
#A23874 #3FA238 #38A29B
monochromatic
#471933 #752853 #A23874 #C45393 #D381B0

Accessibility & contrast

On white

6.26
#A23874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A23874 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23874
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23874#FFFFFF#000000##FFFFFF
##A238741.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465576
Deuteranopia (green-blind)
#646771
Tritanopia (blue-blind)
#AD3451
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a23874;
/* rgb */ color: rgb(162, 56, 116);
/* oklch */ color: oklch(51.0% 0.154 348.9);
Tailwind
colors: {
  custom: {
    50: '#c1769c',
    500: '#a23874',
    950: '#000000',
  },
}
SCSS
$custom: #a23874;
$custom-light: #c1769c;
$custom-dark: #000000;
JSON
{
  "hex": "#a23874",
  "rgb": {
    "r": 162,
    "g": 56,
    "b": 116
  },
  "hsl": {
    "h": 326.038,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51032,
    "c": 0.15364,
    "h": 348.9
  },
  "luminance": 0.11771
}

Semantic roles & 50–950 ramp

primary
#A23874
secondary
#79BD96
accent
#D88B50
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090E
muted
#827B7E

Preview Lab

Preview with #A23874

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

Preview Lab → · Contrast checker → · Palette generator →

#A23874 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva