#AF234F#AF234F

#AF234F is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.176 H 8.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#AF234F
RGBrgb(175, 35, 79)
HSLhsl(341, 67%, 41%)
HSVhsv(341, 80%, 69%)
CMYKcmyk(0%, 80%, 54.9%, 31.4%)
CIE-LABlab(39.38, 57.15, 10.15)
CIE-LCHlch(39.38, 58.04, 10.07°)
OKLaboklab(50.01% 0.1739 0.0259)
OKLCHoklch(50.01% 0.176 8.5)
XYZxyz(19.6934, 10.8834, 8.4593)
Luminance0.1088 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF234F #23AF83
analogous
#AF2395 #AF234F #AF3D23
triadic
#AF234F #4FAF23 #234FAF
tetradic
#AF234F #95AF23 #23AF83 #3D23AF
square
#AF234F #95AF23 #23AF83 #3D23AF
split-complementary
#AF234F #23AF3D #2395AF
monochromatic
#490F21 #7C1938 #AF234F #D7386A #E16B90

Accessibility & contrast

On white

6.61
#AF234F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#AF234F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF234F
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF234F#FFFFFF#000000##FFFFFF
##AF234F1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494B50
Deuteranopia (green-blind)
#6D674C
Tritanopia (blue-blind)
#BF0036
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af234f;
/* rgb */ color: rgb(175, 35, 79);
/* oklch */ color: oklch(50.0% 0.176 8.5);
Tailwind
colors: {
  custom: {
    50: '#cd6d80',
    500: '#af234f',
    950: '#000000',
  },
}
SCSS
$custom: #af234f;
$custom-light: #cd6d80;
$custom-dark: #000000;
JSON
{
  "hex": "#af234f",
  "rgb": {
    "r": 175,
    "g": 35,
    "b": 79
  },
  "hsl": {
    "h": 341.143,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50013,
    "c": 0.17582,
    "h": 8.5
  },
  "luminance": 0.10881
}

Semantic roles & 50–950 ramp

primary
#AF234F
secondary
#66C7A9
accent
#EAB43E
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF234F

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

Preview Lab → · Contrast checker → · Palette generator →

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