#AF234A#AF234A

#AF234A is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.175 H 10.8°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#AF234A
RGBrgb(175, 35, 74)
HSLhsl(343, 67%, 41%)
HSVhsv(343, 80%, 69%)
CMYKcmyk(0%, 80%, 57.7%, 31.4%)
CIE-LABlab(39.26, 56.78, 13.17)
CIE-LCHlch(39.26, 58.29, 13.05°)
OKLaboklab(49.89% 0.172 0.0329)
OKLCHoklch(49.89% 0.175 10.8)
XYZxyz(19.5182, 10.8133, 7.5367)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF234A #23AF88
analogous
#AF2390 #AF234A #AF4223
triadic
#AF234A #4AAF23 #234AAF
tetradic
#AF234A #90AF23 #23AF88 #4223AF
square
#AF234A #90AF23 #23AF88 #4223AF
split-complementary
#AF234A #23AF42 #2390AF
monochromatic
#490F1F #7C1934 #AF234A #D73864 #E16B8C

Accessibility & contrast

On white

6.64
#AF234A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#AF234A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF234A
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF234A#FFFFFF#000000##FFFFFF
##AF234A1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4A4B
Deuteranopia (green-blind)
#6E6746
Tritanopia (blue-blind)
#C00034
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af234a;
/* rgb */ color: rgb(175, 35, 74);
/* oklch */ color: oklch(49.9% 0.175 10.8);
Tailwind
colors: {
  custom: {
    50: '#ce6d7c',
    500: '#af234a',
    950: '#000000',
  },
}
SCSS
$custom: #af234a;
$custom-light: #ce6d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#af234a",
  "rgb": {
    "r": 175,
    "g": 35,
    "b": 74
  },
  "hsl": {
    "h": 343.286,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49887,
    "c": 0.1751,
    "h": 10.8
  },
  "luminance": 0.1081
}

Semantic roles & 50–950 ramp

primary
#AF234A
secondary
#66C7AC
accent
#EABA3E
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF234A

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

Preview Lab → · Contrast checker → · Palette generator →

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