#A12348#A12348

#A12348 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.3% C 0.162 H 9.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#A12348
RGBrgb(161, 35, 72)
HSLhsl(342, 64%, 38%)
HSVhsv(342, 78%, 63%)
CMYKcmyk(0%, 78.3%, 55.3%, 36.9%)
CIE-LABlab(36.46, 52.63, 10.15)
CIE-LCHlch(36.46, 53.60, 10.91°)
OKLaboklab(47.31% 0.16 0.0258)
OKLCHoklch(47.31% 0.162 9.2)
XYZxyz(16.4702, 9.2494, 7.0477)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12348 #23A17C
analogous
#A12387 #A12348 #A13D23
triadic
#A12348 #48A123 #2348A1
tetradic
#A12348 #87A123 #23A17C #3D23A1
square
#A12348 #87A123 #23A17C #3D23A1
split-complementary
#A12348 #23A13D #2387A1
monochromatic
#3C0D1B #6F1832 #A12348 #D22F5F #DD6286

Accessibility & contrast

On white

7.37
#A12348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#A12348 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12348
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12348#FFFFFF#000000##FFFFFF
##A123481.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454649
Deuteranopia (green-blind)
#655F45
Tritanopia (blue-blind)
#B00033
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a12348;
/* rgb */ color: rgb(161, 35, 72);
/* oklch */ color: oklch(47.3% 0.162 9.2);
Tailwind
colors: {
  custom: {
    50: '#c36b7a',
    500: '#a12348',
    950: '#000000',
  },
}
SCSS
$custom: #a12348;
$custom-light: #c36b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a12348",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 72
  },
  "hsl": {
    "h": 342.381,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47309,
    "c": 0.16202,
    "h": 9.2
  },
  "luminance": 0.09247
}

Semantic roles & 50–950 ramp

primary
#A12348
secondary
#5EC2A5
accent
#E7B641
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #A12348

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

Preview Lab → · Contrast checker → · Palette generator →

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