#A12358#A12358

#A12358 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.166 H 0.6°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#A12358
RGBrgb(161, 35, 88)
HSLhsl(335, 64%, 38%)
HSVhsv(335, 78%, 63%)
CMYKcmyk(0%, 78.3%, 45.3%, 36.9%)
CIE-LABlab(36.90, 54.02, 0.49)
CIE-LCHlch(36.90, 54.02, 0.52°)
OKLaboklab(47.78% 0.1659 0.0019)
OKLCHoklch(47.78% 0.166 0.6)
XYZxyz(17.0618, 9.4860, 10.1632)
Luminance0.0948 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12358 #23A16C
analogous
#A12397 #A12358 #A12D23
triadic
#A12358 #58A123 #2358A1
tetradic
#A12358 #97A123 #23A16C #2D23A1
square
#A12358 #97A123 #23A16C #2D23A1
split-complementary
#A12358 #23A12D #2397A1
monochromatic
#3C0D21 #6F183D #A12358 #D22F74 #DD6295

Accessibility & contrast

On white

7.25
#A12358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#A12358 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12358
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12358#FFFFFF#000000##FFFFFF
##A123581.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404759
Deuteranopia (green-blind)
#626055
Tritanopia (blue-blind)
#AF073A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a12358;
/* rgb */ color: rgb(161, 35, 88);
/* oklch */ color: oklch(47.8% 0.166 0.6);
Tailwind
colors: {
  custom: {
    50: '#c26b87',
    500: '#a12358',
    950: '#000000',
  },
}
SCSS
$custom: #a12358;
$custom-light: #c26b87;
$custom-dark: #000000;
JSON
{
  "hex": "#a12358",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 88
  },
  "hsl": {
    "h": 334.762,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4778,
    "c": 0.16591,
    "h": 0.6
  },
  "luminance": 0.09484
}

Semantic roles & 50–950 ramp

primary
#A12358
secondary
#5EC298
accent
#E7A141
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #A12358

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

Preview Lab → · Contrast checker → · Palette generator →

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